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.
This commit is contained in:
Andre Heider 2019-12-05 14:03:19 +01:00
parent 3354771cc6
commit 7d13537525

View File

@ -20,7 +20,7 @@ case "${UBOOT_SYSTEM}" in
$FIPDIR/fip_create --bl30 $FIPDIR/gxb/bl30.bin \ $FIPDIR/fip_create --bl30 $FIPDIR/gxb/bl30.bin \
--bl301 $FIPDIR/gxb/bl301.bin \ --bl301 $FIPDIR/gxb/bl301.bin \
--bl31 $FIPDIR/gxb/bl31.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 $FIPDIR/fip_create --dump $DESTDIR/fip.bin
@ -50,7 +50,7 @@ case "${UBOOT_SYSTEM}" in
cp $FIPDIR/lpddr4_1d.fw $DESTDIR/ cp $FIPDIR/lpddr4_1d.fw $DESTDIR/
cp $FIPDIR/lpddr4_2d.fw $DESTDIR/ cp $FIPDIR/lpddr4_2d.fw $DESTDIR/
cp $FIPDIR/piei.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 \ $FIPDIR/blx_fix.sh $DESTDIR/bl30.bin \
$DESTDIR/zero_tmp \ $DESTDIR/zero_tmp \
@ -104,7 +104,7 @@ case "${UBOOT_SYSTEM}" in
cp $FIPDIR/gxb/bl30.bin $DESTDIR/ cp $FIPDIR/gxb/bl30.bin $DESTDIR/
cp $FIPDIR/gxb/bl301.bin $DESTDIR/ cp $FIPDIR/gxb/bl301.bin $DESTDIR/
cp $FIPDIR/gxb/bl31.img $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 \ $FIPDIR/blx_fix.sh $DESTDIR/bl30.bin \
$DESTDIR/zero_tmp \ $DESTDIR/zero_tmp \
@ -143,7 +143,7 @@ case "${UBOOT_SYSTEM}" in
cp $FIPDIR/gxl/bl30.bin $DESTDIR/ cp $FIPDIR/gxl/bl30.bin $DESTDIR/
cp $FIPDIR/gxl/bl301.bin $DESTDIR/ cp $FIPDIR/gxl/bl301.bin $DESTDIR/
cp $FIPDIR/gxl/bl31.img $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 \ $FIPDIR/blx_fix.sh $DESTDIR/bl30.bin \
$DESTDIR/zero_tmp \ $DESTDIR/zero_tmp \