diff --git a/tools/Makefile.unix b/tools/Makefile.unix index 58d80df9d8c..ca58293a905 100644 --- a/tools/Makefile.unix +++ b/tools/Makefile.unix @@ -266,14 +266,12 @@ tools/cnvwindeps$(HOSTEXEEXT): include/arch: .clean_context @echo "LN: include/arch to $(ARCH_DIR)/include" $(Q) $(DIRLINK) $(TOPDIR)/$(ARCH_DIR)/include include/arch - $(Q) touch $@ # Link the boards////include directory to include/arch/board include/arch/board: include/arch @echo "LN: include/arch/board to $(BOARD_DIR)/include" $(Q) $(DIRLINK) $(BOARD_DIR)/include include/arch/board - $(Q) touch $@ ifneq ($(BOARD_COMMON_DIR),) # Link the boards///common dir to arch//src/board @@ -284,14 +282,12 @@ $(ARCH_SRC)/board: .clean_context $(Q) $(DIRLINK) $(BOARD_COMMON_DIR) $(ARCH_SRC)/board @echo "LN: $(ARCH_SRC)/board/board to $(BOARD_DIR)/src" $(Q) $(DIRLINK) $(BOARD_DIR)/src $(ARCH_SRC)/board/board - $(Q) touch $@ else # Link the boards////src dir to arch//src/board $(ARCH_SRC)/board: .clean_context @echo "LN: $(ARCH_SRC)/board to $(BOARD_DIR)/src" $(Q) $(DIRLINK) $(BOARD_DIR)/src $(ARCH_SRC)/board - $(Q) touch $@ endif # Link the boards///drivers dir to drivers/platform @@ -299,7 +295,6 @@ endif drivers/platform: .clean_context @echo "LN: $(TOPDIR)/drivers/platform to $(BOARD_DRIVERS_DIR)" $(Q) $(DIRLINK) $(BOARD_DRIVERS_DIR) $(TOPDIR)/drivers/platform - $(Q) touch $@ # Link arch//src/ to arch//src/chip @@ -312,7 +307,6 @@ else ifneq ($(CONFIG_ARCH_CHIP),) $(Q) $(DIRLINK) $(TOPDIR)/$(ARCH_SRC)/$(CONFIG_ARCH_CHIP) $(ARCH_SRC)/chip endif $(Q) cp -f $(CHIP_KCONFIG) $(TOPDIR)/arch/dummy/Kconfig - $(Q) touch $@ # Link arch//include/ to include/arch/chip @@ -324,7 +318,6 @@ else ifneq ($(CONFIG_ARCH_CHIP),) @echo "LN: include/arch/chip to $(ARCH_INC)/$(CONFIG_ARCH_CHIP)" $(Q) $(DIRLINK) $(TOPDIR)/$(ARCH_INC)/$(CONFIG_ARCH_CHIP) include/arch/chip endif - $(Q) touch $@ dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip drivers/platform $(Q) $(MAKE) -C libs/libxx dirlinks diff --git a/tools/Makefile.win b/tools/Makefile.win index 0369c62670f..bb551b5776f 100644 --- a/tools/Makefile.win +++ b/tools/Makefile.win @@ -245,14 +245,12 @@ tools\mkdeps$(HOSTEXEEXT): include\arch: .clean_context @echo LN: include\arch to $(ARCH_DIR)\include $(Q) $(DIRLINK) $(TOPDIR)\$(ARCH_DIR)\include include\arch - $(Q) touch $@ # Link the boards\\\\include directory to include\arch\board include\arch\board: include\arch @echo LN: include\arch\board to $(BOARD_DIR)\include $(Q) $(DIRLINK) $(BOARD_DIR)\include include\arch\board - $(Q) touch $@ ifneq ($(BOARD_COMMON_DIR),) # Link the boards\\\common dir to arch\\src\board @@ -263,14 +261,12 @@ $(ARCH_SRC)\board: .clean_context $(Q) $(DIRLINK) $(BOARD_COMMON_DIR) $(ARCH_SRC)\board @echo "LN: $(ARCH_SRC)\board\board to $(BOARD_DIR)\src" $(Q) $(DIRLINK) $(BOARD_DIR)\src $(ARCH_SRC)\board\board - $(Q) touch $@ else # Link the boards\\\\src dir to arch\\src\board $(ARCH_SRC)\board: .clean_context @echo LN: $(ARCH_SRC)\board to $(BOARD_DIR)\src $(Q) $(DIRLINK) $(BOARD_DIR)\src $(ARCH_SRC)\board - $(Q) touch $@ endif # Link the boards\\\drivers dir to drivers\platform @@ -278,7 +274,6 @@ endif drivers\platform: .clean_context @echo LN: $(TOPDIR)\drivers\platform to $(BOARD_DRIVERS_DIR) $(Q) $(DIRLINK) $(BOARD_DRIVERS_DIR) $(TOPDIR)\drivers\platform - $(Q) touch $@ # Link arch\\src\ to arch\\src\chip @@ -291,7 +286,6 @@ else ifneq ($(CONFIG_ARCH_CHIP),) $(Q) $(DIRLINK) $(TOPDIR)\$(ARCH_SRC)\$(CONFIG_ARCH_CHIP) $(ARCH_SRC)\chip endif $(Q) cp -f $(CHIP_KCONFIG) $(TOPDIR)\arch\dummy\Kconfig - $(Q) touch $@ # Link arch\\include\ to arch\\include\chip @@ -303,7 +297,6 @@ else ifneq ($(CONFIG_ARCH_CHIP),) @echo LN: include\arch\chip to $(ARCH_INC)\$(CONFIG_ARCH_CHIP) $(Q) $(DIRLINK) $(TOPDIR)\$(ARCH_INC)\$(CONFIG_ARCH_CHIP) include\arch\chip endif - $(Q) touch $@ dirlinks: include\arch include\arch\board include\arch\chip $(ARCH_SRC)\board $(ARCH_SRC)\chip drivers\platform $(Q) $(MAKE) -C libs/libxx dirlinks