mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
Extend the dirlinks target. This plugs some wholes open by last chicken-and-egg build fix
This commit is contained in:
+3
-1
@@ -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
|
||||
#
|
||||
|
||||
+3
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user