build: Remove some duplicated definitions
Unified the duplicated definitions into nuttx/tools/Config.mk. Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
ea7437c2a8
commit
40c325adfe
13
Make.defs
13
Make.defs
@ -79,19 +79,6 @@ else
|
|||||||
MKKCONFIG ?= $(APPDIR)$(DELIM)tools$(DELIM)mkkconfig.sh
|
MKKCONFIG ?= $(APPDIR)$(DELIM)tools$(DELIM)mkkconfig.sh
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Invoke make
|
|
||||||
|
|
||||||
define MAKE_template
|
|
||||||
+$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
|
||||||
|
|
||||||
endef
|
|
||||||
|
|
||||||
define SDIR_template
|
|
||||||
$(1)_$(2):
|
|
||||||
+$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
|
||||||
|
|
||||||
endef
|
|
||||||
|
|
||||||
# Builtin Registration
|
# Builtin Registration
|
||||||
|
|
||||||
BUILTIN_REGISTRY = $(APPDIR)$(DELIM)builtin$(DELIM)registry
|
BUILTIN_REGISTRY = $(APPDIR)$(DELIM)builtin$(DELIM)registry
|
||||||
|
Loading…
Reference in New Issue
Block a user