summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHaixiang Bao <haixiang.bao@amlogic.com>2015-10-15 15:46:25 +0800
committerHaixiang Bao <haixiang.bao@amlogic.com>2015-10-15 15:46:25 +0800
commit5425ae07b16f514fb08042489bda2b85d487308a (patch)
treeb3a24a431c25dde2d7fe37e8d3106b9afe11a4e8 /Makefile
parent6b3f533968da54fd5323e1abf36c549a14448cd1 (diff)
downloadu-boot-odroid-c1-5425ae07b16f514fb08042489bda2b85d487308a.tar.gz
[GXB]: update to make same building output
1. this commit base don following http://10.8.9.5/uboot/commit/?h=next-2015-dev&id=60c1ace130a dba5b96967c3ee169d47f95ef11e2 2. it will copy all output to fip folder for consistence with former version Change-Id: I953bfaac717bfe941d486f921140c93826c934be Signed-off-by: Haixiang Bao <haixiang.bao@amlogic.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 43e6f1c30a..e0f0df91b7 100644
--- a/Makefile
+++ b/Makefile
@@ -898,7 +898,9 @@ ifeq ($(CONFIG_AML_CRYPTO_UBOOT), y)
endif
ifeq ($(CONFIG_AML_CRYPTO_IMG), y)
$(Q)$(FIP_FOLDER_SOC)/aml_encrypt_$(SOC) --imgsig --input $(srctree)/board/$(BOARDDIR)/boot.img --amluserkey $(srctree)/board/$(BOARDDIR)/aml-user-key.sig --output $(FIP_FOLDER_SOC)/boot.img.encrypt
+ @cp -f $(FIP_FOLDER_SOC)/boot.img.encrypt $(FIP_FOLDER)/boot.img.encrypt
endif
+ @cp -f $(FIP_FOLDER_SOC)/u-boot.* $(FIP_FOLDER)/
@rm -f $(FIP_FOLDER_SOC)/bl2_new.bin $(FIP_FOLDER_SOC)/boot_new.bin
@echo '$(FIP_FOLDER_SOC)/u-boot.bin build done!'
@@ -1415,9 +1417,8 @@ distclean: mrproper
@rm -f $(FIP_FOLDER_SOC)/boot.bin
@rm -f $(FIP_FOLDER_SOC)/boot_sd.bin
@rm -f $(FIP_FOLDER_SOC)/u-boot.bin
- @rm -f $(FIP_FOLDER_SOC)/u-boot.bin.*
-#following are temp to remove all former images which make confusion, will be removed later
- @rm -f $(srctree)/fip/*.bin $(srctree)/fip/*.bl2 $(srctree)/fip/*.tpl $(srctree)/fip/u-boot.bin.*
+ @rm -f $(FIP_FOLDER_SOC)/u-boot.bin.* $(FIP_FOLDER_SOC)/*.encrypt
+ @rm -f $(FIP_FOLDER)/u-boot.bin.* $(FIP_FOLDER)/*.bin $(FIP_FOLDER)/*.encrypt
@rm -f $(srctree)/fip/aml_encrypt_gxb
backup: