From 7d13537525faf278d0ca2c45e308e3af39b19c38 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Thu, 5 Dec 2019 14:03:19 +0100 Subject: [PATCH] image: clean up Amlogic's bootloader/install script The script is executed by u-boot itself, so there's no need to use get_build_dir() on itself. This is what all other projects are already doing. --- projects/Amlogic/bootloader/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/Amlogic/bootloader/install b/projects/Amlogic/bootloader/install index b701b89122..40e269023a 100644 --- a/projects/Amlogic/bootloader/install +++ b/projects/Amlogic/bootloader/install @@ -20,7 +20,7 @@ case "${UBOOT_SYSTEM}" in $FIPDIR/fip_create --bl30 $FIPDIR/gxb/bl30.bin \ --bl301 $FIPDIR/gxb/bl301.bin \ --bl31 $FIPDIR/gxb/bl31.bin \ - --bl33 $(get_build_dir $BOOTLOADER)/u-boot.bin $DESTDIR/fip.bin + --bl33 u-boot.bin $DESTDIR/fip.bin $FIPDIR/fip_create --dump $DESTDIR/fip.bin @@ -50,7 +50,7 @@ case "${UBOOT_SYSTEM}" in cp $FIPDIR/lpddr4_1d.fw $DESTDIR/ cp $FIPDIR/lpddr4_2d.fw $DESTDIR/ cp $FIPDIR/piei.fw $DESTDIR/ - cp $(get_build_dir $BOOTLOADER)/u-boot.bin $DESTDIR/bl33.bin + cp u-boot.bin $DESTDIR/bl33.bin $FIPDIR/blx_fix.sh $DESTDIR/bl30.bin \ $DESTDIR/zero_tmp \ @@ -104,7 +104,7 @@ case "${UBOOT_SYSTEM}" in cp $FIPDIR/gxb/bl30.bin $DESTDIR/ cp $FIPDIR/gxb/bl301.bin $DESTDIR/ cp $FIPDIR/gxb/bl31.img $DESTDIR/ - cp $(get_build_dir $BOOTLOADER)/u-boot.bin $DESTDIR/bl33.bin + cp u-boot.bin $DESTDIR/bl33.bin $FIPDIR/blx_fix.sh $DESTDIR/bl30.bin \ $DESTDIR/zero_tmp \ @@ -143,7 +143,7 @@ case "${UBOOT_SYSTEM}" in cp $FIPDIR/gxl/bl30.bin $DESTDIR/ cp $FIPDIR/gxl/bl301.bin $DESTDIR/ cp $FIPDIR/gxl/bl31.img $DESTDIR/ - cp $(get_build_dir $BOOTLOADER)/u-boot.bin $DESTDIR/bl33.bin + cp u-boot.bin $DESTDIR/bl33.bin $FIPDIR/blx_fix.sh $DESTDIR/bl30.bin \ $DESTDIR/zero_tmp \