summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
index f97df71a7f..e711951405 100644
--- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
@@ -17,6 +17,15 @@ S = "${WORKDIR}/git"
17 17
18EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTSTRIP="true"' 18EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTSTRIP="true"'
19 19
20python () {
21 if not d.getVar("UBOOT_MACHINE", True):
22 PN = d.getVar("PN", True)
23 FILE = os.path.basename(d.getVar("FILE", True))
24 bb.debug(1, "To build %s, see %s for instructions on \
25 setting up your machine config" % (PN, FILE))
26 raise bb.parse.SkipPackage("UBOOT_MACHINE is not set in the %s machine configuration." % d.getVar("MACHINE", True))
27}
28
20do_compile () { 29do_compile () {
21 oe_runmake ${UBOOT_MACHINE} 30 oe_runmake ${UBOOT_MACHINE}
22 oe_runmake env 31 oe_runmake env