summaryrefslogtreecommitdiffstats
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 08:08:08 +0000
commit0ae52c8b2c1d7d7cdbcfeeae6ff42e64f16bc41d (patch)
treeff594e31891ad27f10c664570b5b0280ee52bf17
parent8514d21e6a8fef634d6f361bdfd19ef87a3e5567 (diff)
downloadpoky-0ae52c8b2c1d7d7cdbcfeeae6ff42e64f16bc41d.tar.gz
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] (From OE-Core rev: 9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
29 bb.utils.remove(build_conf_dir, True) 29 bb.utils.remove(build_conf_dir, True)
30 ml_globs = ('%s/*/t-linux64' % src_conf_dir, 30 ml_globs = ('%s/*/t-linux64' % src_conf_dir,
31 '%s/*/linux64.h' % src_conf_dir, 31 '%s/*/linux64.h' % src_conf_dir,
32 '%s/aarch64/t-aarch64' % src_conf_dir,
33 '%s/aarch64/aarch64.h' % src_conf_dir,
34 '%s/aarch64/aarch64-cores.def' % src_conf_dir,
32 '%s/*/linux.h' % src_conf_dir, 35 '%s/*/linux.h' % src_conf_dir,
33 '%s/linux.h' % src_conf_dir) 36 '%s/linux.h' % src_conf_dir)
34 37
@@ -130,6 +133,8 @@ python gcc_multilib_setup() {
130 'mips64' : ['gcc/config/mips/t-linux64'], 133 'mips64' : ['gcc/config/mips/t-linux64'],
131 'powerpc' : ['gcc/config/rs6000/t-linux64'], 134 'powerpc' : ['gcc/config/rs6000/t-linux64'],
132 'powerpc64' : ['gcc/config/rs6000/t-linux64'], 135 'powerpc64' : ['gcc/config/rs6000/t-linux64'],
136 'aarch64' : ['gcc/config/aarch64/t-aarch64'],
137 'arm' : ['gcc/config/aarch64/t-aarch64'],
133 } 138 }
134 139
135 gcc_header_config_files = { 140 gcc_header_config_files = {
@@ -140,6 +145,8 @@ python gcc_multilib_setup() {
140 'mips64' : ['gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'], 145 'mips64' : ['gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'],
141 'powerpc' : ['gcc/config/rs6000/linux64.h'], 146 'powerpc' : ['gcc/config/rs6000/linux64.h'],
142 'powerpc64' : ['gcc/config/rs6000/linux64.h'], 147 'powerpc64' : ['gcc/config/rs6000/linux64.h'],
148 'aarch64' : ['gcc/config/aarch64/aarch64.h'],
149 'arm' : ['gcc/config/aarch64/aarch64.h'],
143 } 150 }
144 151
145 libdir32 = 'SYSTEMLIBS_DIR' 152 libdir32 = 'SYSTEMLIBS_DIR'