mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
apps/Makefile: Move APPDIR set to the first and remove APPDIR from command line but ensure TOPDIR/BINDIR are always set in command line.
This commit is contained in:
parent
c73af9c3c8
commit
18bd9acd3d
2 changed files with 8 additions and 9 deletions
|
|
@ -46,7 +46,7 @@ all: nothing
|
|||
|
||||
define SDIR_template
|
||||
$(1)_$(2):
|
||||
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
||||
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BINDIR="$(BINDIR)"
|
||||
endef
|
||||
|
||||
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue