cleanup: use uboot_CONFIG_SUPPORT_RAW_INITRD

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent ab1c2cb8fd
commit 747ec9df6d

@ -1001,10 +1001,10 @@ populate_boot () {
cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/boot/initrd.img-current cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/boot/initrd.img-current
if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then
if [ ${mkimage_initrd} ] ; then if [ "x${uboot_CONFIG_SUPPORT_RAW_INITRD}" = "xenable" ] ; then
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net
else
cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/initrd.net cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/initrd.net
else
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net
fi fi
fi fi
echo "-----------------------------" echo "-----------------------------"
@ -1262,7 +1262,6 @@ process_dtb_conf () {
conf_net_initrd_file=initrd.net conf_net_initrd_file=initrd.net
initrd=/boot/initrd.img-current initrd=/boot/initrd.img-current
else else
mkimage_initrd=1
conf_normal_initrd_file=uInitrd conf_normal_initrd_file=uInitrd
conf_net_initrd_file=uInitrd.net conf_net_initrd_file=uInitrd.net
initrd=/boot/uInitrd initrd=/boot/uInitrd

Loading…
Cancel
Save