diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2020-01-23 20:53:29 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-01-24 16:56:12 -0800 |
| commit | 6e8352a60c4c9498eb84443bd9c235a4f07c0945 (patch) | |
| tree | 3e53c52711dc566fb6a993c416621b044fcea1fb | |
| parent | 657e6a97564f444fce2a14848ab567bad0238e21 (diff) | |
| download | meta-xilinx-6e8352a60c4c9498eb84443bd9c235a4f07c0945.tar.gz | |
Revert "binutils/gcc: Refactor the oeconf"
This reverts commit a45b1acf46f01cc5eb3ae130ab61766ed635340e.
6 files changed, 167 insertions, 14 deletions
diff --git a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross-canadian_%.bbappend b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross-canadian_%.bbappend index 086aa195..1e4d8b02 100644 --- a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross-canadian_%.bbappend +++ b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross-canadian_%.bbappend | |||
| @@ -1,11 +1,29 @@ | |||
| 1 | include binutils-xilinx-standalone.inc | 1 | include binutils-xilinx-standalone.inc |
| 2 | 2 | ||
| 3 | EXTRA_OECONF_append_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_cortexr5 = " \ | 3 | |
| 4 | # The following is a copy of what is in OE-Core, without LDGOLD, because we have to do gold per machine instead | ||
| 5 | EXTRA_OECONF_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone = " \ | ||
| 6 | --program-prefix=${TARGET_PREFIX} \ | ||
| 7 | --disable-werror \ | ||
| 8 | --enable-deterministic-archives \ | ||
| 9 | --enable-plugins \ | ||
| 10 | ${BINUTILS_CONFIGURE_COMMON_XILINX_STANDALONE} \ | ||
| 11 | " | ||
| 12 | |||
| 13 | |||
| 14 | EXTRA_OECONF_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_cortexa53 = " \ | ||
| 15 | ${BINUTILS_CONFIGURE_A53} \ | ||
| 16 | " | ||
| 17 | |||
| 18 | EXTRA_OECONF_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_cortexa72 = " \ | ||
| 19 | ${BINUTILS_CONFIGURE_A72} \ | ||
| 20 | " | ||
| 21 | EXTRA_OECONF_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_cortexr5 = " \ | ||
| 4 | ${BINUTILS_CONFIGURE_R5} \ | 22 | ${BINUTILS_CONFIGURE_R5} \ |
| 5 | " | 23 | " |
| 6 | EXTRA_OECONF_append_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_zynqmp-pmu = " \ | 24 | EXTRA_OECONF_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_zynqmp-pmu = " \ |
| 7 | ${BINUTILS_CONFIGURE_MB} \ | 25 | ${BINUTILS_CONFIGURE_MB} \ |
| 8 | " | 26 | " |
| 9 | EXTRA_OECONF_append_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_zc702-zynq7 = " \ | 27 | EXTRA_OECONF_pn-binutils-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_zc702-zynq7 = " \ |
| 10 | ${BINUTILS_CONFIGURE_A9} \ | 28 | ${BINUTILS_CONFIGURE_A9} \ |
| 11 | " | 29 | " |
diff --git a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend index 32a50e3c..fd1702e4 100644 --- a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend +++ b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend | |||
| @@ -1,13 +1,31 @@ | |||
| 1 | include binutils-xilinx-standalone.inc | 1 | include binutils-xilinx-standalone.inc |
| 2 | 2 | ||
| 3 | EXTRA_OECONF_append_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_cortexr5 = " \ | 3 | |
| 4 | # The following is a copy of what is in OE-Core, without LDGOLD, because we have to do gold per machine instead | ||
| 5 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone = " \ | ||
| 6 | --program-prefix=${TARGET_PREFIX} \ | ||
| 7 | --disable-werror \ | ||
| 8 | --enable-deterministic-archives \ | ||
| 9 | --enable-plugins \ | ||
| 10 | ${BINUTILS_CONFIGURE_COMMON_XILINX_STANDALONE} \ | ||
| 11 | " | ||
| 12 | |||
| 13 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_append_cortexa53 = " \ | ||
| 14 | ${BINUTILS_CONFIGURE_A53} \ | ||
| 15 | " | ||
| 16 | |||
| 17 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_append_cortexa72 = " \ | ||
| 18 | ${BINUTILS_CONFIGURE_A72} \ | ||
| 19 | " | ||
| 20 | |||
| 21 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_append_cortexr5 = " \ | ||
| 4 | ${BINUTILS_CONFIGURE_R5} \ | 22 | ${BINUTILS_CONFIGURE_R5} \ |
| 5 | " | 23 | " |
| 6 | 24 | ||
| 7 | EXTRA_OECONF_append_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_zynqmp-pmu = " \ | 25 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_append_zynqmp-pmu = " \ |
| 8 | ${BINUTILS_CONFIGURE_MB} \ | 26 | ${BINUTILS_CONFIGURE_MB} \ |
| 9 | " | 27 | " |
| 10 | 28 | ||
| 11 | EXTRA_OECONF_append_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_zc702-zynq7 = " \ | 29 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone_append_zc702-zynq7 = " \ |
| 12 | ${BINUTILS_CONFIGURE_A9} \ | 30 | ${BINUTILS_CONFIGURE_A9} \ |
| 13 | " | 31 | " |
diff --git a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-xilinx-standalone.inc index 5883f07d..4170ee02 100644 --- a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-xilinx-standalone.inc | |||
| @@ -2,6 +2,29 @@ | |||
| 2 | # MACHINES when using xilinx-standalone a DISTRO. | 2 | # MACHINES when using xilinx-standalone a DISTRO. |
| 3 | # This should be applicable to both cross and cross-canadian toolchain. | 3 | # This should be applicable to both cross and cross-canadian toolchain. |
| 4 | 4 | ||
| 5 | BINUTILS_CONFIGURE_COMMON_XILINX_STANDALONE = " \ | ||
| 6 | --disable-gdb \ | ||
| 7 | --disable-sim \ | ||
| 8 | " | ||
| 9 | |||
| 10 | BINUTILS_CONFIGURE_A53 ?= " \ | ||
| 11 | --disable-gprof \ | ||
| 12 | --disable-libdecnumber \ | ||
| 13 | --disable-readline \ | ||
| 14 | --disable-shared \ | ||
| 15 | --enable-lto \ | ||
| 16 | --enable-static \ | ||
| 17 | " | ||
| 18 | |||
| 19 | BINUTILS_CONFIGURE_A72 ?= " \ | ||
| 20 | --disable-gprof \ | ||
| 21 | --disable-libdecnumber \ | ||
| 22 | --disable-readline \ | ||
| 23 | --disable-shared \ | ||
| 24 | --enable-lto \ | ||
| 25 | --enable-static \ | ||
| 26 | " | ||
| 27 | |||
| 5 | BINUTILS_CONFIGURE_R5 ?= " \ | 28 | BINUTILS_CONFIGURE_R5 ?= " \ |
| 6 | --disable-docs \ | 29 | --disable-docs \ |
| 7 | --disable-nls \ | 30 | --disable-nls \ |
| @@ -20,4 +43,4 @@ BINUTILS_CONFIGURE_A9 ?= " \ | |||
| 20 | --disable-docs \ | 43 | --disable-docs \ |
| 21 | --disable-nls \ | 44 | --disable-nls \ |
| 22 | --enable-interwork \ | 45 | --enable-interwork \ |
| 23 | " | 46 | " \ No newline at end of file |
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend index 85543b66..9143434a 100644 --- a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend | |||
| @@ -1,17 +1,36 @@ | |||
| 1 | include gcc-xilinx-standalone.inc | 1 | include gcc-xilinx-standalone.inc |
| 2 | 2 | ||
| 3 | # This is still missing a way to remove infiniarray, if we really have to we could use _remove | ||
| 4 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone = " \ | ||
| 5 | ${GCC_CONFIGURE_COMMON_XILINX_STANDALONE} \ | ||
| 6 | --program-prefix=${TARGET_PREFIX} \ | ||
| 7 | --without-local-prefix \ | ||
| 8 | ${EXTRA_OECONF_PATHS} \ | ||
| 9 | " | ||
| 10 | |||
| 11 | |||
| 12 | # Cortex-A53 | ||
| 13 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_cortexa53 = " \ | ||
| 14 | ${GCC_CONFIGURE_A53} \ | ||
| 15 | " | ||
| 16 | |||
| 17 | # Cortex-A72 | ||
| 18 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_cortexa72 = " \ | ||
| 19 | ${GCC_CONFIGURE_A72} \ | ||
| 20 | " | ||
| 21 | |||
| 3 | # Cortex-R5 | 22 | # Cortex-R5 |
| 4 | EXTRA_OECONF_append_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_cortexr5 = " \ | 23 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_cortexr5 = " \ |
| 5 | ${GCC_CONFIGURE_R5} \ | 24 | ${GCC_CONFIGURE_R5} \ |
| 6 | " | 25 | " |
| 7 | 26 | ||
| 8 | # MB | 27 | # MB |
| 9 | EXTRA_OECONF_append_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_zynqmp-pmu = " \ | 28 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_zynqmp-pmu = " \ |
| 10 | ${GCC_CONFIGURE_MB} \ | 29 | ${GCC_CONFIGURE_MB} \ |
| 11 | " | 30 | " |
| 12 | 31 | ||
| 13 | # Cortex-A9 | 32 | # Cortex-A9 |
| 14 | EXTRA_OECONF_append_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_zc702-zynq7 = " \ | 33 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone_append_zc702-zynq7 = " \ |
| 15 | ${GCC_CONFIGURE_A9} \ | 34 | ${GCC_CONFIGURE_A9} \ |
| 16 | " | 35 | " |
| 17 | 36 | ||
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend index 2f013442..cad0cecc 100644 --- a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend | |||
| @@ -1,16 +1,40 @@ | |||
| 1 | include gcc-xilinx-standalone.inc | 1 | include gcc-xilinx-standalone.inc |
| 2 | 2 | ||
| 3 | |||
| 4 | |||
| 5 | # This is still missing a way to remove infiniarray, if we really have to we could use _remove | ||
| 6 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone = " \ | ||
| 7 | ${GCC_CONFIGURE_COMMON_XILINX_STANDALONE} \ | ||
| 8 | --program-prefix=${TARGET_PREFIX} \ | ||
| 9 | --without-local-prefix \ | ||
| 10 | ${EXTRA_OECONF_PATHS} \ | ||
| 11 | " | ||
| 12 | |||
| 13 | |||
| 14 | # --with-multilib-list=aprofile doesnt exist in gcc 8 | ||
| 15 | |||
| 16 | |||
| 17 | # Cortex-A53 | ||
| 18 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_append_cortexa53 = " \ | ||
| 19 | ${GCC_CONFIGURE_A53} \ | ||
| 20 | " | ||
| 21 | |||
| 22 | # Cortex-A72 | ||
| 23 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_append_cortexa72 = " \ | ||
| 24 | ${GCC_CONFIGURE_A72} \ | ||
| 25 | " | ||
| 26 | |||
| 3 | # Cortex-R5 | 27 | # Cortex-R5 |
| 4 | EXTRA_OECONF_append_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_cortexr5 = " \ | 28 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_append_cortexr5 = " \ |
| 5 | ${GCC_CONFIGURE_R5} \ | 29 | ${GCC_CONFIGURE_R5} \ |
| 6 | " | 30 | " |
| 7 | 31 | ||
| 8 | # MB | 32 | # MB |
| 9 | EXTRA_OECONF_append_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_zynqmp-pmu = " \ | 33 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_append_zynqmp-pmu = " \ |
| 10 | ${GCC_CONFIGURE_MB} \ | 34 | ${GCC_CONFIGURE_MB} \ |
| 11 | " | 35 | " |
| 12 | 36 | ||
| 13 | # Cortex-A9 | 37 | # Cortex-A9 |
| 14 | EXTRA_OECONF_append_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_zc702-zynq7 = " \ | 38 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_append_zc702-zynq7 = " \ |
| 15 | ${GCC_CONFIGURE_A9} \ | 39 | ${GCC_CONFIGURE_A9} \ |
| 16 | " | 40 | " |
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-xilinx-standalone.inc index 70b85eb0..007998ca 100644 --- a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-xilinx-standalone.inc | |||
| @@ -2,6 +2,57 @@ | |||
| 2 | # MACHINES when using xilinx-standalone a DISTRO. | 2 | # MACHINES when using xilinx-standalone a DISTRO. |
| 3 | # This should be applicable to both cross and cross-canadian toolchain. | 3 | # This should be applicable to both cross and cross-canadian toolchain. |
| 4 | 4 | ||
| 5 | |||
| 6 | GCC_CONFIGURE_COMMON_XILINX_STANDALONE = " \ | ||
| 7 | --disable-libmudflap \ | ||
| 8 | --disable-libstdcxx-pch \ | ||
| 9 | --disable-nls \ | ||
| 10 | --enable-languages=${LANGUAGES} \ | ||
| 11 | --with-newlib \ | ||
| 12 | " | ||
| 13 | |||
| 14 | |||
| 15 | GCC_CONFIGURE_A53 ?= " \ | ||
| 16 | --disable-bootstrap \ | ||
| 17 | --disable-multiarch \ | ||
| 18 | --disable-threads \ | ||
| 19 | --enable-c99 \ | ||
| 20 | --enable-checking=yes \ | ||
| 21 | --enable-fix-cortex-a53-835769 \ | ||
| 22 | --enable-fix-cortex-a53-843419 \ | ||
| 23 | --enable-linker-build-id \ | ||
| 24 | --enable-long-long \ | ||
| 25 | --enable-lto \ | ||
| 26 | --enable-plugins \ | ||
| 27 | --enable-shared \ | ||
| 28 | --with-arch=armv8-a \ | ||
| 29 | --with-cloog=no \ | ||
| 30 | --with-gnu-as \ | ||
| 31 | --with-gnu-ld \ | ||
| 32 | --with-isl=no \ | ||
| 33 | --with-ppl=no \ | ||
| 34 | " | ||
| 35 | |||
| 36 | GCC_CONFIGURE_A72 ?= " \ | ||
| 37 | --disable-bootstrap \ | ||
| 38 | --disable-multiarch \ | ||
| 39 | --disable-threads \ | ||
| 40 | --enable-c99 \ | ||
| 41 | --enable-checking=yes \ | ||
| 42 | --enable-linker-build-id \ | ||
| 43 | --enable-long-long \ | ||
| 44 | --enable-lto \ | ||
| 45 | --enable-multilib \ | ||
| 46 | --enable-plugins \ | ||
| 47 | --enable-shared \ | ||
| 48 | --enable-threads=no \ | ||
| 49 | --with-cloog=no \ | ||
| 50 | --with-gnu-as \ | ||
| 51 | --with-gnu-ld \ | ||
| 52 | --with-isl=no \ | ||
| 53 | --with-ppl=no \ | ||
| 54 | " | ||
| 55 | |||
| 5 | GCC_CONFIGURE_R5 ?= " \ | 56 | GCC_CONFIGURE_R5 ?= " \ |
| 6 | --disable-decimal-float \ | 57 | --disable-decimal-float \ |
| 7 | --disable-libffi \ | 58 | --disable-libffi \ |
| @@ -51,4 +102,4 @@ GCC_CONFIGURE_A9 ?= " \ | |||
| 51 | --with-isl=no \ | 102 | --with-isl=no \ |
| 52 | --with-ppl=no \ | 103 | --with-ppl=no \ |
| 53 | --with-multilib-list=aprofile \ | 104 | --with-multilib-list=aprofile \ |
| 54 | " | 105 | " \ No newline at end of file |
