summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-09-25 14:23:16 -0500
committerMatthew McClintock <msm@freescale.com>2012-09-25 14:23:23 -0500
commit9ff9e027cb9639eb5b5bc5723c60f2dd28b27539 (patch)
treea5068b019d5e2847c6fbf78bb17e0f4cadc0cf8c
parent86a62bef3643d659e6a3e159f2b1deae23a95370 (diff)
downloadmeta-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.bb9
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"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" 6LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
7 7
8PR = "r24" 8PR = "r25"
9INHIBIT_DEFAULT_DEPS = "1" 9INHIBIT_DEFAULT_DEPS = "1"
10DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc" 10DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
11 11
@@ -14,6 +14,13 @@ inherit deploy
14SRCREV = "6d1aef1c02ba9472215234696faa8ce8745a40a9" 14SRCREV = "6d1aef1c02ba9472215234696faa8ce8745a40a9"
15SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ 15SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \
16 " 16 "
17python () {
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
18DEPENDS_append_e5500-64b = " lib32-gcc-cross lib32-libgcc" 25DEPENDS_append_e5500-64b = " lib32-gcc-cross lib32-libgcc"
19PATH_append_e5500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/" 26PATH_append_e5500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"