diff --git a/mk_mmc.sh b/mk_mmc.sh index 803c4f0..e071cc7 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -771,10 +771,12 @@ generate_soc () { echo "dd_uboot_bs=${dd_uboot_bs}" >> ${wfile} echo "dd_uboot_backup=${dd_uboot_backup}" >> ${wfile} else - echo "uboot_CONFIG_CMD_BOOTZ=${uboot_CONFIG_CMD_BOOTZ}" >> ${wfile} - echo "uboot_CONFIG_SUPPORT_RAW_INITRD=${uboot_CONFIG_SUPPORT_RAW_INITRD}" >> ${wfile} - echo "uboot_CONFIG_CMD_FS_GENERIC=${uboot_CONFIG_CMD_FS_GENERIC}" >> ${wfile} - echo "zreladdr=${conf_zreladdr}" >> ${wfile} + if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then + echo "uboot_CONFIG_CMD_BOOTZ=${uboot_CONFIG_CMD_BOOTZ}" >> ${wfile} + echo "uboot_CONFIG_SUPPORT_RAW_INITRD=${uboot_CONFIG_SUPPORT_RAW_INITRD}" >> ${wfile} + echo "uboot_CONFIG_CMD_FS_GENERIC=${uboot_CONFIG_CMD_FS_GENERIC}" >> ${wfile} + echo "zreladdr=${conf_zreladdr}" >> ${wfile} + fi fi echo "" >> ${wfile} echo "boot_fstype=${conf_boot_fstype}" >> ${wfile}