summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot.inc')
-rw-r--r--recipes-bsp/u-boot/u-boot.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc
index e4e534a..cba40c9 100644
--- a/recipes-bsp/u-boot/u-boot.inc
+++ b/recipes-bsp/u-boot/u-boot.inc
@@ -6,6 +6,9 @@ PROVIDES = "virtual/bootloader"
# New U-Boot with suppressed version.
PR="m5"
+# Add a '-sd' suffix to the PR for SDMFG builds
+PR .= "${@oe.utils.conditional("SDMFG", "", "", "-sd", d)}"
+
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
@@ -85,8 +88,8 @@ do_patch_append () {
except TypeError:
bb.fatal("PR is missing from recipe")
f.write(PR + os.linesep)
- SDCARD = d.getVar("BB_USE_SD",True)
- if (SDCARD == 1):
+ SDCARD = d.getVar("SDMFG",True)
+ if (SDCARD != ""):
try:
S = d.getVar("S",True)
except TypeError: