From 37ed870fa6925f3bff33ab893e9c6977babeb17c Mon Sep 17 00:00:00 2001 From: "andrii.davydenko" Date: Fri, 19 Aug 2022 17:07:03 +0300 Subject: [MTX-4566][GP-1689] Manufacturing: Atmel based devices - process improvement Add SDMFG variable instead of BB_USE_SD --- recipes-bsp/at91bootstrap/at91bootstrap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-bsp/at91bootstrap') diff --git a/recipes-bsp/at91bootstrap/at91bootstrap.inc b/recipes-bsp/at91bootstrap/at91bootstrap.inc index f2f29bd..6dfc9ef 100644 --- a/recipes-bsp/at91bootstrap/at91bootstrap.inc +++ b/recipes-bsp/at91bootstrap/at91bootstrap.inc @@ -18,7 +18,7 @@ inherit cml1 deploy # TODO: python2: use python3 inherit python3-dir python3native -DEFCONFIG = "${@oe.utils.conditional('BB_USE_SD', '1', 'file://defconfig-sd', 'file://defconfig-n', d)}" +DEFCONFIG = "${@oe.utils.conditional('SDMFG', '', 'file://defconfig-n', 'file://defconfig-sd', d)}" SRC_URI_append = " \ ${DEFCONFIG} \ @@ -92,7 +92,7 @@ do_configure() { if [ ${MACHINE} = "mtcdt" ] ; then bbnote "Found mtcdt" - if [ -n "${BB_USE_SD}" -a "${BB_USE_SD}" = "1" ]; then + if [ -n "${SDMFG}" ]; then bbnote "Building for SD card" cp ${WORKDIR}/defconfig-sd ${WORKDIR}/defconfig else -- cgit v1.2.3