summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-06-20 16:29:22 +0530
committerKever Yang <kever.yang@rock-chips.com>2019-06-26 21:11:27 +0800
commit96070460c38cf8f606cb976c28c12664e98797f4 (patch)
tree4be4726ed03bf56c71797a93d67ec63a85a8cae5 /Makefile
parentcca4f576d0ad1c2d5a309df2ad19116f89401a1c (diff)
downloadu-boot-96070460c38cf8f606cb976c28c12664e98797f4.tar.gz
u-boot-96070460c38cf8f606cb976c28c12664e98797f4.tar.bz2
u-boot-96070460c38cf8f606cb976c28c12664e98797f4.zip
rockchip: rk3399: Get bl31.elf via BL31
Right now rockchip platform need to copy bl31.elf into u-boot source directory to make use of building u-boot.itb. So, add environment variable BL31 like Allwinner SoC so-that the bl31.elf would available via BL31. If the builds are not exporting BL31 env, the make_fit_atf.py explicitly create dummy bl31.elf in u-boot root directory to satisfy travis builds and it will show the warning on console as WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional WARNING: Please read Building section in doc/README.rockchip Note, that the dummy bl31 files were created during not exporting BL31 case would be removed via clean target in Makefile. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db81531666..f3857ab6a9 100644
--- a/Makefile
+++ b/Makefile
@@ -1848,7 +1848,7 @@ clean: $(clean-dirs)
-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
-type f -print | xargs rm -f \
- bl31_*.bin image.map
+ bl31.c bl31.elf bl31_*.bin image.map
# mrproper - Delete all generated files, including .config
#