mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Recursive Kconfig autogeneration
This commit is contained in:
parent
ae6c0b832c
commit
a9aa753fa4
21 changed files with 62 additions and 310 deletions
|
|
@ -34,6 +34,7 @@
|
|||
############################################################################
|
||||
|
||||
-include $(TOPDIR)/.config # Current configuration
|
||||
include $(APPDIR)/Make.defs
|
||||
|
||||
# Sub-directories
|
||||
|
||||
|
|
@ -48,6 +49,7 @@ $(1)_$(2):
|
|||
$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
||||
endef
|
||||
|
||||
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))
|
||||
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),context)))
|
||||
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),depend)))
|
||||
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),clean)))
|
||||
|
|
@ -57,6 +59,9 @@ nothing:
|
|||
|
||||
install:
|
||||
|
||||
preconfig: $(foreach SDIR, $(SUBDIRS), $(SDIR)_preconfig)
|
||||
$(MKKCONFIG) -m "$(shell cat Kmenu)"
|
||||
|
||||
context: $(foreach SDIR, $(SUBDIRS), $(SDIR)_context)
|
||||
|
||||
depend: $(foreach SDIR, $(SUBDIRS), $(SDIR)_depend)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue