diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-20 13:59:22 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-06-26 16:11:27 +0300 |
commit | 96070460c38cf8f606cb976c28c12664e98797f4 (patch) | |
tree | 4be4726ed03bf56c71797a93d67ec63a85a8cae5 /Makefile | |
parent | cca4f576d0ad1c2d5a309df2ad19116f89401a1c (diff) | |
download | u-boot-96070460c38cf8f606cb976c28c12664e98797f4.tar.xz |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 # |