make/POSTBUILD: make BIN directory configurable

enhance the post build can support configurable BIN directory

Change-Id: I64f286b6eb5ed77e91b67a27d815d62c345ac589
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-07-01 11:34:44 +08:00 committed by Abdelatif Guettouche
parent 30d2b6c89c
commit 9d7856192b
2 changed files with 2 additions and 2 deletions

View File

@ -421,7 +421,7 @@ ifeq ($(CONFIG_UBOOT_UIMAGE),y)
cp -f uImage /tftpboot/uImage; \
fi
endif
$(call POSTBUILD)
$(call POSTBUILD, $(TOPDIR))
# download
#

View File

@ -381,7 +381,7 @@ ifeq ($(CONFIG_RAW_BINARY),y)
@echo "CP: $(NUTTXNAME).bin"
$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O binary $(BIN) $(NUTTXNAME).bin
endif
$(call POSTBUILD)
$(call POSTBUILD, $(TOPDIR))
# download
#