Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
- index e2ce234aa1..537efa10ed 100644
- --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
- +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
- @@ -67,6 +67,14 @@ EXTRA_OECONF_append_mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6"
- EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6"
- EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6"
- +# ARMv6+ adds atomic instructions that affect the ABI in libraries built
- +# with TUNE_CCARGS in gcc-runtime. Make the compiler default to a
- +# compatible architecture. armv6 and armv7a cover the minimum tune
- +# features used in OE.
- +EXTRA_OECONF_append_armv6 = " --with-arch=armv6"
- +EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
- +EXTRA_OECONF_append_armv7ve = " --with-arch=armv7ve"
- +
- EXTRA_OECONF_GCC_FLOAT ??= ""
- CPPFLAGS = ""
- diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
- index 22617a2838..15d403c7c6 100644
- --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
- +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
- @@ -14,7 +14,7 @@ EXTRA_OECONF_PATHS = "\
- --with-build-sysroot=${STAGING_DIR_TARGET} \
- "
- -TUNE_FEATURES_remove_armv7ve = "cortexa7"
- +#TUNE_FEATURES_remove_armv7ve = "cortexa7"
- EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
- diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
- index b6e31f5d93..eef4434dbb 100644
- --- a/meta/recipes-devtools/gcc/gcc-target.inc
- +++ b/meta/recipes-devtools/gcc/gcc-target.inc
- @@ -9,14 +9,6 @@ EXTRA_OECONF_PATHS = "\
- EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
- -# ARMv6+ adds atomic instructions that affect the ABI in libraries built
- -# with TUNE_CCARGS in gcc-runtime. Make the compiler default to a
- -# compatible architecture. armv6 and armv7a cover the minimum tune
- -# features used in OE.
- -EXTRA_OECONF_append_armv6 = " --with-arch=armv6"
- -EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
- -EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a"
- -
- # libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is
- # set in subdir gcc, so subdir libcc1 can't use it, export it here to
- # fix the problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement