mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
build: Generate a staging folder like kernel side
so the user could generate the separate library through BIN. Here is the similar code snippet copied from nuttx/tools/Unix.mk: context: include/nuttx/config.h include/nuttx/version.h .dirlinks $(CONTEXTDIRS_DEPS) | staging staging: $(Q) mkdir -p $@ Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
1f4292c250
commit
b94c26fefc
2 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -26,6 +26,7 @@
|
|||
/external
|
||||
/Kconfig
|
||||
/romfs.img
|
||||
/staging
|
||||
/symtab_apps.c
|
||||
cscope.out
|
||||
Make.dep
|
||||
|
|
|
|||
5
Makefile
5
Makefile
|
|
@ -158,7 +158,10 @@ dirlinks:
|
|||
context_all: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_context)
|
||||
register_all: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_register)
|
||||
|
||||
context:
|
||||
staging:
|
||||
$(Q) mkdir -p $@
|
||||
|
||||
context: | staging
|
||||
$(Q) $(MAKE) context_all
|
||||
$(Q) $(MAKE) register_all
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue