summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-target.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 23:04:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-16 14:08:28 +0100
commitdec53367a82ef6837657698fb303ff61ff68cd76 (patch)
tree6e8448d16dc4e795e59ca3f7eefdc2e869d130e4 /meta/recipes-devtools/gcc/gcc-target.inc
parent0d245c8cfb9d23b56a5cf4f617c662ede81e95e3 (diff)
downloadpoky-dec53367a82ef6837657698fb303ff61ff68cd76.tar.gz
gcc-configure/gcc-target: Move arm6/7 config to target only
We only build one gcc-cross per architecture and having target specific flags means gcc-cross would rebuild. These flags are really for the on target case, so they should be set in gcc-target only. (From OE-Core rev: 851937dde81de2a9ef54c5f19a78fb12fb82afd4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index eef4434dbb..b6e31f5d93 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -9,6 +9,14 @@ EXTRA_OECONF_PATHS = "\
9 9
10EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" 10EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
11 11
12# ARMv6+ adds atomic instructions that affect the ABI in libraries built
13# with TUNE_CCARGS in gcc-runtime. Make the compiler default to a
14# compatible architecture. armv6 and armv7a cover the minimum tune
15# features used in OE.
16EXTRA_OECONF_append_armv6 = " --with-arch=armv6"
17EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
18EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a"
19
12# libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is 20# libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is
13# set in subdir gcc, so subdir libcc1 can't use it, export it here to 21# set in subdir gcc, so subdir libcc1 can't use it, export it here to
14# fix the problem. 22# fix the problem.