make/import: add post build support
support post processing after binary install Change-Id: Ifc587f6a8a29372298261c99a4510b680cbb8ec1 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
aaa61346c9
commit
fde8f24f2a
1
Makefile
1
Makefile
@ -140,6 +140,7 @@ ifeq ($(CONFIG_RAW_BINARY),y)
|
||||
$(Q) echo "CP: nuttx.bin"
|
||||
$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O binary nuttx$(EXEEXT) nuttx.bin
|
||||
endif
|
||||
$(call POSTBUILD, $(APPDIR))
|
||||
|
||||
import: $(IMPORT_TOOLS)
|
||||
$(Q) $(MAKE) context TOPDIR="$(APPDIR)$(DELIM)import"
|
||||
|
@ -35,6 +35,7 @@
|
||||
|
||||
include $(TOPDIR)/.config
|
||||
include $(TOPDIR)/tools/Config.mk
|
||||
-include $(TOPDIR)/scripts/Config.mk
|
||||
include $(TOPDIR)/scripts/Make.defs
|
||||
|
||||
# Tool related definitions
|
||||
|
Loading…
Reference in New Issue
Block a user