diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-11-04 00:42:30 -0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2015-11-04 17:46:14 -0800 |
commit | ab4bf4dca902aa8719c096849439d85478821455 (patch) | |
tree | 8c1bca093dbb21eee06913df09fefe5f8ac00957 /meta/recipes-devtools/gcc/libgcc.inc | |
parent | e44ed8c18e395b9c055aefee113b90708e8a8a2f (diff) | |
download | openembedded-core-contrib-ab4bf4dca902aa8719c096849439d85478821455.tar.gz |
cross-canadian/libgcc: fix aarch64's multilib SDKrbt/aarch64_lib32
The arm toolchain has a "-gnueabi" suffix, but aarch64 doesn't,
this makes multilib sdk doesn't work, for example:
MACHINE = qemuarm64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
$ bitbake core-image-minimal -cpopulate_sdk
Then extract SDK, the
environment-setup-armv7a-vfp-neon-pokymllib32-linux-gnueabi
doesn't work since:
* The CC is arm-pokymllib32-linux-gnueabi-gcc
which doesn't exist, the patch for cross-canadian.bbclass
fixes problem.
* Need aarch64-poky-linux/usr/lib/arm-poky-linux-linux-gnueabi
which doesn't exist, the patch for libgcc-common.inc fixes the
problem.
[YOCTO #8616]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc index 95fa3f40b0..f6a0a8ce1d 100644 --- a/meta/recipes-devtools/gcc/libgcc.inc +++ b/meta/recipes-devtools/gcc/libgcc.inc @@ -17,7 +17,7 @@ LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" FILES_${PN}-dev = "\ ${base_libdir}/libgcc*.so \ - ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ + ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}*', d)} \ ${libdir}/${TARGET_SYS}/${BINV}* \ " |