summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc9
-rw-r--r--meta/recipes-devtools/gcc/gcc_8.1.bb4
2 files changed, 10 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index 56e4b95af4..bc2236fed0 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -14,9 +14,12 @@ EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
14# specific). For example, for ARM, ARMv6+ adds atomic instructions that may 14# specific). For example, for ARM, ARMv6+ adds atomic instructions that may
15# affect the ABI in the gcc-runtime libs. Since we can't rely on gcc on the 15# affect the ABI in the gcc-runtime libs. Since we can't rely on gcc on the
16# target to always be passed -march etc, its built-in default needs to be safe. 16# target to always be passed -march etc, its built-in default needs to be safe.
17EXTRA_OECONF_append_armv6 = " --with-arch=armv6" 17
18EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" 18ARMFPARCHEXT ?= ""
19EXTRA_OECONF_append_armv7ve = " --with-arch=armv7ve" 19
20EXTRA_OECONF_append_armv6 = " --with-arch=armv6${ARMFPARCHEXT}"
21EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a${ARMFPARCHEXT}"
22EXTRA_OECONF_append_armv7ve = " --with-arch=armv7ve${ARMFPARCHEXT}"
20 23
21# libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is 24# libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is
22# set in subdir gcc, so subdir libcc1 can't use it, export it here to 25# set in subdir gcc, so subdir libcc1 can't use it, export it here to
diff --git a/meta/recipes-devtools/gcc/gcc_8.1.bb b/meta/recipes-devtools/gcc/gcc_8.1.bb
index ab208e7026..7d93590588 100644
--- a/meta/recipes-devtools/gcc/gcc_8.1.bb
+++ b/meta/recipes-devtools/gcc/gcc_8.1.bb
@@ -7,4 +7,8 @@ require gcc-target.inc
7ARM_INSTRUCTION_SET_armv4 = "arm" 7ARM_INSTRUCTION_SET_armv4 = "arm"
8ARM_INSTRUCTION_SET_armv5 = "arm" 8ARM_INSTRUCTION_SET_armv5 = "arm"
9 9
10ARMFPARCHEXT_armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
11ARMFPARCHEXT_armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
12ARMFPARCHEXT_armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
13
10BBCLASSEXTEND = "nativesdk" 14BBCLASSEXTEND = "nativesdk"