From fde8f24f2ac4f357d9848da7ff64c4ffd574be2f Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 1 Jul 2020 11:32:21 +0800 Subject: [PATCH] make/import: add post build support support post processing after binary install Change-Id: Ifc587f6a8a29372298261c99a4510b680cbb8ec1 Signed-off-by: chao.an --- Makefile | 1 + import/Make.defs | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5b495b1e4..49c6e4b4e 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 5c2c132ad..aff19c952 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