Extend the dirlinks target. This plugs some wholes open by last chicken-and-egg build fix
This commit is contained in:
parent
f9829db939
commit
486212a750
3 changed files with 8 additions and 2 deletions
|
@ -181,7 +181,7 @@ endif
|
|||
BIN = nuttx$(EXEEXT)
|
||||
|
||||
all: $(BIN)
|
||||
.PHONY: context clean_context check_context export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
|
||||
.PHONY: dirlinks context clean_context check_context export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
|
||||
|
||||
# Target used to copy include/nuttx/lib/math.h. If CONFIG_ARCH_MATH_H is
|
||||
# defined, then there is an architecture specific math.h header file
|
||||
|
@ -315,6 +315,8 @@ ifneq ($(CONFIG_ARCH_CHIP),)
|
|||
endif
|
||||
|
||||
dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip
|
||||
$(Q) $(MAKE) -C configs dirlinks TOPDIR="$(TOPDIR)"
|
||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks TOPDIR="$(TOPDIR)"
|
||||
|
||||
# context
|
||||
#
|
||||
|
|
|
@ -174,7 +174,7 @@ endif
|
|||
BIN = nuttx$(EXEEXT)
|
||||
|
||||
all: $(BIN)
|
||||
.PHONY: context clean_context check_context configenv config oldconfig menuconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
|
||||
.PHONY: dirlinks context clean_context check_context configenv config oldconfig menuconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
|
||||
|
||||
# Target used to copy include\nuttx\math.h. If CONFIG_ARCH_MATH_H is
|
||||
# defined, then there is an architecture specific math.h header file
|
||||
|
@ -335,6 +335,8 @@ endif
|
|||
endif
|
||||
|
||||
dirlinks: include\arch include\arch\board include\arch\chip $(ARCH_SRC)\board $(ARCH_SRC)\chip
|
||||
$(Q) $(MAKE) -C configs dirlinks TOPDIR="$(TOPDIR)"
|
||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks TOPDIR="$(TOPDIR)"
|
||||
|
||||
# context
|
||||
#
|
||||
|
|
|
@ -103,6 +103,8 @@ $(DUMMY_KCONFIG): $(BOARD_KCONFIG)
|
|||
$(call DELFILE, $(DUMMY_KCONFIG))
|
||||
$(Q) cp -f $(BOARD_KCONFIG) $(DUMMY_KCONFIG)
|
||||
|
||||
dirlinks: $(DUMMY_KCONFIG)
|
||||
|
||||
context: $(DUMMY_KCONFIG)
|
||||
|
||||
clean_context:
|
||||
|
|
Loading…
Reference in a new issue