diff options
author | zachary <zhangzg@marvell.com> | 2017-05-12 16:07:40 +0800 |
---|---|---|
committer | Wilson Ding <dingwei@marvell.com> | 2017-05-12 13:41:39 +0300 |
commit | cd9621a8fe38bda40700b0acc4904795d225c3f7 (patch) | |
tree | b5441fc4457b392a1a3b61dc9f886fda623cb761 | |
parent | 6fbe45294094f4b29959f60c14e69b14378c0b6a (diff) |
makefile: a3700: remove unnecessary files after build
Remove "CSKN-KeyHash.txt" and Hash.txt after building trusted image
Remove "TIMHash.txt" and "Tim_msg.txt" after building untrusted image
Change-Id: I6ce675f39d49c3cd6538205acefd5e64685d6fbf
Signed-off-by: zachary <zhangzg@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/39358
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Terry Zhou <bjzhou@marvell.com>
Reviewed-by: Wilson Ding <dingwei@marvell.com>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -868,6 +868,7 @@ endif $(TIM2IMG) $(TIM2IMGARGS) -o $(BUILD_PLAT)/$(FLASH_IMAGE) @mv -t $(BUILD_PLAT) $(TIM_IMAGE) $(DOIMAGE_CFG) $(TIMN_IMAGE) $(TIMNCFG) $(WTMI_IMG) @if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then mv -t $(BUILD_PLAT) $(WTMI_ENC_IMG); fi + @find . -name "*.txt" | grep -E "CSK[[:alnum:]]_KeyHash.txt|Tim_msg.txt|TIMHash.txt" | xargs rm -f else fip: ${BUILD_PLAT}/${FIP_NAME} ${DOIMAGETOOL} ${BUILD_PLAT}/ble.bin $(shell truncate -s %128K ${BUILD_PLAT}/bl1.bin) |