Advertisement
Guest User

Untitled

a guest
Jun 7th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
  2. index e2ce234aa1..537efa10ed 100644
  3. --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
  4. +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
  5. @@ -67,6 +67,14 @@ EXTRA_OECONF_append_mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6"
  6. EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6"
  7. EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6"
  8.  
  9. +# ARMv6+ adds atomic instructions that affect the ABI in libraries built
  10. +# with TUNE_CCARGS in gcc-runtime. Make the compiler default to a
  11. +# compatible architecture. armv6 and armv7a cover the minimum tune
  12. +# features used in OE.
  13. +EXTRA_OECONF_append_armv6 = " --with-arch=armv6"
  14. +EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
  15. +EXTRA_OECONF_append_armv7ve = " --with-arch=armv7ve"
  16. +
  17. EXTRA_OECONF_GCC_FLOAT ??= ""
  18. CPPFLAGS = ""
  19.  
  20. diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
  21. index 22617a2838..15d403c7c6 100644
  22. --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
  23. +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
  24. @@ -14,7 +14,7 @@ EXTRA_OECONF_PATHS = "\
  25. --with-build-sysroot=${STAGING_DIR_TARGET} \
  26. "
  27.  
  28. -TUNE_FEATURES_remove_armv7ve = "cortexa7"
  29. +#TUNE_FEATURES_remove_armv7ve = "cortexa7"
  30.  
  31. EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
  32.  
  33. diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
  34. index b6e31f5d93..eef4434dbb 100644
  35. --- a/meta/recipes-devtools/gcc/gcc-target.inc
  36. +++ b/meta/recipes-devtools/gcc/gcc-target.inc
  37. @@ -9,14 +9,6 @@ EXTRA_OECONF_PATHS = "\
  38.  
  39. EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
  40.  
  41. -# ARMv6+ adds atomic instructions that affect the ABI in libraries built
  42. -# with TUNE_CCARGS in gcc-runtime. Make the compiler default to a
  43. -# compatible architecture. armv6 and armv7a cover the minimum tune
  44. -# features used in OE.
  45. -EXTRA_OECONF_append_armv6 = " --with-arch=armv6"
  46. -EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
  47. -EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a"
  48. -
  49. # libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is
  50. # set in subdir gcc, so subdir libcc1 can't use it, export it here to
  51. # fix the problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement