]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot: use TARGET_VENDOR to compose multilib sys
authorTing Liu <ting.liu@freescale.com>
Fri, 16 Jan 2015 10:22:59 +0000 (18:22 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 22 Jan 2015 07:06:11 +0000 (15:06 +0800)
This aligns with the default setting in Poky.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
meta-fsl-ppc/recipes-bsp/u-boot/u-boot-qoriq_2014.07.bb

index 43af42d7fbb9e6a4e095fb781db0394d03466e62..b7806584710f3b5179d1700cdfe0081d1906a7ab 100644 (file)
@@ -30,7 +30,7 @@ python () {
     if "e5500-64b:" in arch or "e6500-64b:" in arch:
         if not "lib32" in ml:
             raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled")
-        sys_multilib = 'powerpc-' + d.getVar('DISTRO') + 'mllib32-' + d.getVar('HOST_OS')
+        sys_multilib = 'powerpc' + d.getVar('TARGET_VENDOR') + 'mllib32-' + d.getVar('HOST_OS')
         d.setVar('DEPENDS_append', ' lib32-gcc-cross-powerpc lib32-libgcc')
         d.setVar('PATH_append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/' + sys_multilib)
         d.setVar('TOOLCHAIN_OPTIONS_append', '/../lib32-' + d.getVar("MACHINE"))