mk_mmc.sh: cleanup fdtfile

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent 80f2a4bdb8
commit bc5e1bc83d

@ -272,16 +272,18 @@ boot_uenv_txt_template () {
echo "#Normal Boot" > ${TEMPDIR}/bootscripts/normal.cmd echo "#Normal Boot" > ${TEMPDIR}/bootscripts/normal.cmd
echo "#Debian Installer only Boot" > ${TEMPDIR}/bootscripts/netinstall.cmd echo "#Debian Installer only Boot" > ${TEMPDIR}/bootscripts/netinstall.cmd
if [ ! "${uboot_fdt_auto_detection}" ] ; then cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ #fdtfile=${dtb}
fdtfile=${dtb}
__EOF__ __EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
fdtfile=${dtb} #fdtfile=${dtb}
__EOF__ __EOF__
if [ ! "${uboot_fdt_auto_detection}" ] ; then
sed -i -e 's:#fdtfile:fdtfile:g' ${TEMPDIR}/bootscripts/*.cmd
fi fi
drm_device_identifier=${drm_device_identifier:-"HDMI-A-1"} drm_device_identifier=${drm_device_identifier:-"HDMI-A-1"}

Loading…
Cancel
Save