From 3aa16bbf658df1f4dc3e8b7fa16e74a866d60fdb Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 7 Aug 2015 09:23:02 -0500 Subject: [PATCH] mk_mmc.sh: hide these when conf_smart_uboot is enabled Signed-off-by: Robert Nelson --- mk_mmc.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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}