diff options
author | Matthew McClintock <msm@freescale.com> | 2012-09-25 14:23:16 -0500 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2012-09-25 14:23:23 -0500 |
commit | 9ff9e027cb9639eb5b5bc5723c60f2dd28b27539 (patch) | |
tree | a5068b019d5e2847c6fbf78bb17e0f4cadc0cf8c | |
parent | 86a62bef3643d659e6a3e159f2b1deae23a95370 (diff) | |
download | meta-fsl-ppc-9ff9e027cb9639eb5b5bc5723c60f2dd28b27539.tar.gz |
u-boot_git.bb: don't try to built 32-bit u-boot on 64-bit machine
Signed-off-by: Matthew McClintock <msm@freescale.com>
Notes
First git notes
-rw-r--r-- | recipes-kernel/u-boot/u-boot_git.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb index d6a5885..aa46bb1 100644 --- a/recipes-kernel/u-boot/u-boot_git.bb +++ b/recipes-kernel/u-boot/u-boot_git.bb | |||
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader" | |||
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" |
7 | 7 | ||
8 | PR = "r24" | 8 | PR = "r25" |
9 | INHIBIT_DEFAULT_DEPS = "1" | 9 | INHIBIT_DEFAULT_DEPS = "1" |
10 | DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc" | 10 | DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc" |
11 | 11 | ||
@@ -14,6 +14,13 @@ inherit deploy | |||
14 | SRCREV = "6d1aef1c02ba9472215234696faa8ce8745a40a9" | 14 | SRCREV = "6d1aef1c02ba9472215234696faa8ce8745a40a9" |
15 | SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ | 15 | SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ |
16 | " | 16 | " |
17 | python () { | ||
18 | ml = d.getVar("MULTILIB_VARIANTS", True) | ||
19 | arch = d.getVar("OVERRIDES", True) | ||
20 | |||
21 | if ("e5500-64b:" in arch or "e6500-64b:" in arch) and not "lib32" in ml: | ||
22 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") | ||
23 | } | ||
17 | 24 | ||
18 | DEPENDS_append_e5500-64b = " lib32-gcc-cross lib32-libgcc" | 25 | DEPENDS_append_e5500-64b = " lib32-gcc-cross lib32-libgcc" |
19 | PATH_append_e5500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/" | 26 | PATH_append_e5500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/" |