You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/05 15:27:38 UTC

[incubator-nuttx] branch master updated: tools: Fix parallel build issue due to missing dependency

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6053de2  tools: Fix parallel build issue due to missing dependency
6053de2 is described below

commit 6053de27cea68196b45a2984999bcfcacedaa23d
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Wed Jan 5 10:34:42 2022 -0300

    tools: Fix parallel build issue due to missing dependency
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 tools/Unix.mk | 2 +-
 tools/Win.mk  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/Unix.mk b/tools/Unix.mk
index a642785..418ca8b 100644
--- a/tools/Unix.mk
+++ b/tools/Unix.mk
@@ -317,7 +317,7 @@ INCLUDE_ARCH_CHIP_SYMLINK_DIR=$(TOPDIR)/$(ARCH_INC)/$(CONFIG_ARCH_CHIP)
 endif
 
 ifneq ($(INCLUDE_ARCH_CHIP_SYMLINK_DIR),)
-include/arch/chip:
+include/arch/chip: | include/arch
 	@echo "LN: $@ to $(INCLUDE_ARCH_CHIP_SYMLINK_DIR)"
 	$(DIRLINK) $(INCLUDE_ARCH_CHIP_SYMLINK_DIR) $@
 endif
diff --git a/tools/Win.mk b/tools/Win.mk
index 10e74ed..7f2bdbe 100644
--- a/tools/Win.mk
+++ b/tools/Win.mk
@@ -302,7 +302,7 @@ INCLUDE_ARCH_CHIP_SYMLINK_DIR=$(TOPDIR)\$(ARCH_INC)\$(CONFIG_ARCH_CHIP)
 endif
 
 ifneq ($(INCLUDE_ARCH_CHIP_SYMLINK_DIR),)
-include\arch\chip:
+include\arch\chip: | include\arch
 	@echo "LN: $@ to $(INCLUDE_ARCH_CHIP_SYMLINK_DIR)"
 	$(DIRLINK) $(INCLUDE_ARCH_CHIP_SYMLINK_DIR) $@
 endif