This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit fde8f24f2ac4f357d9848da7ff64c4ffd574be2f
Author: chao.an <anc...@xiaomi.com>
AuthorDate: Wed Jul 1 11:32:21 2020 +0800

    make/import: add post build support
    
    support post processing after binary install
    
    Change-Id: Ifc587f6a8a29372298261c99a4510b680cbb8ec1
    Signed-off-by: chao.an <anc...@xiaomi.com>
---
 Makefile         | 1 +
 import/Make.defs | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 5b495b1..49c6e4b 100644
--- a/Makefile
+++ b/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"
diff --git a/import/Make.defs b/import/Make.defs
index 5c2c132..aff19c9 100644
--- a/import/Make.defs
+++ b/import/Make.defs
@@ -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

Reply via email to