summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-multilib-config.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-11-05 00:20:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 07:56:59 +0000
commit9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057 (patch)
treebf948e2155d37b293bb64476b5c4a193e8e92e55 /meta/recipes-devtools/gcc/gcc-multilib-config.inc
parent27de51f4ad21d9b896e7d48041e7cdf20c564a38 (diff)
downloadopenembedded-core-9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057.tar.gz
openembedded-core-9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057.tar.bz2
openembedded-core-9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057.zip
gcc-multilib-config: make aarch64 support multilib
Fixed: MACHINE = qemuarm64 require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon" $ bitbake core-image-minimal -cpopulate_sdk WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64 WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64 [YOCTO #8638] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-multilib-config.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-multilib-config.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
index 1c0a45a365..a0a2ac09a7 100644
--- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc
+++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
@@ -29,6 +29,9 @@ python gcc_multilib_setup() {
bb.utils.remove(build_conf_dir, True)
ml_globs = ('%s/*/t-linux64' % src_conf_dir,
'%s/*/linux64.h' % src_conf_dir,
+ '%s/aarch64/t-aarch64' % src_conf_dir,
+ '%s/aarch64/aarch64.h' % src_conf_dir,
+ '%s/aarch64/aarch64-cores.def' % src_conf_dir,
'%s/*/linux.h' % src_conf_dir,
'%s/linux.h' % src_conf_dir)
@@ -130,6 +133,8 @@ python gcc_multilib_setup() {
'mips64' : ['gcc/config/mips/t-linux64'],
'powerpc' : ['gcc/config/rs6000/t-linux64'],
'powerpc64' : ['gcc/config/rs6000/t-linux64'],
+ 'aarch64' : ['gcc/config/aarch64/t-aarch64'],
+ 'arm' : ['gcc/config/aarch64/t-aarch64'],
}
gcc_header_config_files = {
@@ -140,6 +145,8 @@ python gcc_multilib_setup() {
'mips64' : ['gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'],
'powerpc' : ['gcc/config/rs6000/linux64.h'],
'powerpc64' : ['gcc/config/rs6000/linux64.h'],
+ 'aarch64' : ['gcc/config/aarch64/aarch64.h'],
+ 'arm' : ['gcc/config/aarch64/aarch64.h'],
}
libdir32 = 'SYSTEMLIBS_DIR'