From f7cb0875f44c9533a7eb546e4a2d3734730cb7ff Mon Sep 17 00:00:00 2001 From: LyleCheatham Date: Thu, 21 Mar 2019 17:55:15 -0400 Subject: [PATCH] makefile: Fixed build on OSX Signed-off-by: Lyle Cheatham --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a9e4d0ea..6ce1c777 100644 --- a/Makefile +++ b/Makefile @@ -72,9 +72,11 @@ $(OUT)board-link: $(KCONFIG_CONFIG) @echo " Creating symbolic link $(OUT)board" $(Q)mkdir -p $(addprefix $(OUT), $(dirs-y)) $(Q)touch $@ - $(Q)ln -Tsf $(PWD)/src/$(CONFIG_BOARD_DIRECTORY) $(OUT)board + $(Q)rm -f $(OUT)board + $(Q)ln -sf $(PWD)/src/$(CONFIG_BOARD_DIRECTORY) $(OUT)board $(Q)mkdir -p $(OUT)board-generic - $(Q)ln -Tsf $(PWD)/src/generic $(OUT)board-generic/board + $(Q)rm -f $(OUT)board-generic/board + $(Q)ln -sf $(PWD)/src/generic $(OUT)board-generic/board $(OUT)%.o.ctr: $(OUT)%.o $(Q)$(OBJCOPY) -j '.compile_time_request' -O binary $^ $@