summaryrefslogtreecommitdiff
path: root/recipes-bsp/at91bootstrap/at91bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/at91bootstrap/at91bootstrap.inc')
-rw-r--r--recipes-bsp/at91bootstrap/at91bootstrap.inc4
1 files changed, 2 insertions, 2 deletions
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