diff options
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot.inc')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 6ec63df0e3..10a3cf82b4 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
@@ -3,19 +3,10 @@ HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" | |||
3 | SECTION = "bootloaders" | 3 | SECTION = "bootloaders" |
4 | PROVIDES = "virtual/bootloader" | 4 | PROVIDES = "virtual/bootloader" |
5 | 5 | ||
6 | inherit deploy | 6 | inherit uboot-config deploy |
7 | 7 | ||
8 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' | 8 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' |
9 | 9 | ||
10 | python () { | ||
11 | if not d.getVar("UBOOT_MACHINE", True): | ||
12 | PN = d.getVar("PN", True) | ||
13 | FILE = os.path.basename(d.getVar("FILE", True)) | ||
14 | bb.debug(1, "To build %s, see %s for instructions on \ | ||
15 | setting up your machine config" % (PN, FILE)) | ||
16 | raise bb.parse.SkipPackage("UBOOT_MACHINE is not set in the %s machine configuration." % d.getVar("MACHINE", True)) | ||
17 | } | ||
18 | |||
19 | # Allow setting an additional version string that will be picked up by the | 10 | # Allow setting an additional version string that will be picked up by the |
20 | # u-boot build system and appended to the u-boot version. If the .scmversion | 11 | # u-boot build system and appended to the u-boot version. If the .scmversion |
21 | # file already exists it will not be overwritten. | 12 | # file already exists it will not be overwritten. |