cleanup: spacing

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 6116db0c45
commit 3ef6e7c44b

@ -925,22 +925,24 @@ if [ ! "${DO_UBOOT_DD}" ] ; then
fi fi
fi fi
VMLINUZ="vmlinuz-*" VMLINUZ="vmlinuz-*"
UIMAGE="uImage.net" UIMAGE="uImage.net"
if [ -f ${TEMPDIR}/kernel/boot/${VMLINUZ} ]; then if [ -f ${TEMPDIR}/kernel/boot/${VMLINUZ} ]; then
LINUX_VER=$(ls ${TEMPDIR}/kernel/boot/${VMLINUZ} | awk -F'vmlinuz-' '{print $2}') LINUX_VER=$(ls ${TEMPDIR}/kernel/boot/${VMLINUZ} | awk -F'vmlinuz-' '{print $2}')
echo "Using mkimage to create uImage" echo "Using mkimage to create uImage"
mkimage -A arm -O linux -T kernel -C none -a ${ZRELADD} -e ${ZRELADD} -n ${LINUX_VER} -d ${TEMPDIR}/kernel/boot/${VMLINUZ} ${TEMPDIR}/disk/${UIMAGE} echo "-----------------------------"
fi mkimage -A arm -O linux -T kernel -C none -a ${ZRELADD} -e ${ZRELADD} -n ${LINUX_VER} -d ${TEMPDIR}/kernel/boot/${VMLINUZ} ${TEMPDIR}/disk/${UIMAGE}
fi
INITRD="initrd.mod.gz" INITRD="initrd.mod.gz"
UINITRD="uInitrd.net" UINITRD="uInitrd.net"
if [ -f ${TEMPDIR}/${INITRD} ]; then if [ -f ${TEMPDIR}/${INITRD} ]; then
echo "Using mkimage to create uInitrd" echo "Using mkimage to create uInitrd"
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/${INITRD} ${TEMPDIR}/disk/${UINITRD} echo "-----------------------------"
fi mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/${INITRD} ${TEMPDIR}/disk/${UINITRD}
fi
if [ "${USE_UENV}" ] ; then if [ "${USE_UENV}" ] ; then
echo "Copying uEnv.txt based boot scripts to Boot Partition" echo "Copying uEnv.txt based boot scripts to Boot Partition"

Loading…
Cancel
Save