cleanup: download bootloader

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 103fb50685
commit d5f8ebe68e

@ -249,17 +249,15 @@ function dl_bootloader {
if [ "${SPL_BOOT}" ] ; then if [ "${SPL_BOOT}" ] ; then
MLO=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:${ABI_VER}:MLO" | awk '{print $2}') MLO=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:${ABI_VER}:MLO" | awk '{print $2}')
fi wget --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${MLO}
UBOOT=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:${ABI_VER}:UBOOT" | awk '{print $2}')
if [ "${SPL_BOOT}" ] ; then
wget -c --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${MLO}
MLO=${MLO##*/} MLO=${MLO##*/}
echo "SPL Bootloader: ${MLO}"
fi fi
wget -c --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${UBOOT} UBOOT=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:${ABI_VER}:UBOOT" | awk '{print $2}')
wget --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${UBOOT}
UBOOT=${UBOOT##*/} UBOOT=${UBOOT##*/}
echo "UBOOT Bootloader: ${UBOOT}"
} }
function set_defaults { function set_defaults {

Loading…
Cancel
Save