diff options
Diffstat (limited to 'meta-xilinx-standalone')
6 files changed, 149 insertions, 14 deletions
diff --git a/meta-xilinx-standalone/conf/machine/cortexa53.conf b/meta-xilinx-standalone/conf/machine/cortexa53.conf index ac2f21f2..1d8377ca 100644 --- a/meta-xilinx-standalone/conf/machine/cortexa53.conf +++ b/meta-xilinx-standalone/conf/machine/cortexa53.conf | |||
| @@ -12,3 +12,42 @@ ARMPKGARCH_tune-cortexa53 = "cortexa53" | |||
| 12 | TUNE_FEATURES_tune-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa53" | 12 | TUNE_FEATURES_tune-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa53" |
| 13 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64}" | 13 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64}" |
| 14 | 14 | ||
| 15 | #LANGUAGES_append = ",lto" | ||
| 16 | |||
| 17 | GCC_CONFIGURE_A53 ?= " \ | ||
| 18 | --disable-bootstrap \ | ||
| 19 | --disable-multiarch \ | ||
| 20 | --disable-threads \ | ||
| 21 | --enable-c99 \ | ||
| 22 | --enable-checking=yes \ | ||
| 23 | --enable-fix-cortex-a53-835769 \ | ||
| 24 | --enable-fix-cortex-a53-843419 \ | ||
| 25 | --enable-linker-build-id \ | ||
| 26 | --enable-long-long \ | ||
| 27 | --enable-lto \ | ||
| 28 | --enable-plugins \ | ||
| 29 | --enable-shared \ | ||
| 30 | --with-arch=armv8-a \ | ||
| 31 | --with-cloog=no \ | ||
| 32 | --with-gnu-as \ | ||
| 33 | --with-gnu-ld \ | ||
| 34 | --with-isl=no \ | ||
| 35 | --with-ppl=no \ | ||
| 36 | " | ||
| 37 | |||
| 38 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_append_xilinx-standalone = " \ | ||
| 39 | ${GCC_CONFIGURE_A53} \ | ||
| 40 | " | ||
| 41 | |||
| 42 | BINUTILS_CONFIGURE_A53 ?= " \ | ||
| 43 | --disable-gprof \ | ||
| 44 | --disable-libdecnumber \ | ||
| 45 | --disable-readline \ | ||
| 46 | --disable-shared \ | ||
| 47 | --enable-lto \ | ||
| 48 | --enable-static \ | ||
| 49 | " | ||
| 50 | |||
| 51 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_append_xilinx-standalone = " \ | ||
| 52 | ${BINUTILS_CONFIGURE_A53} \ | ||
| 53 | " | ||
diff --git a/meta-xilinx-standalone/conf/machine/cortexr5.conf b/meta-xilinx-standalone/conf/machine/cortexr5.conf index 48e1f125..74ef4b4d 100644 --- a/meta-xilinx-standalone/conf/machine/cortexr5.conf +++ b/meta-xilinx-standalone/conf/machine/cortexr5.conf | |||
| @@ -10,4 +10,39 @@ AVAILTUNES += "cortexr5" | |||
| 10 | ARMPKGARCH_tune-cortexr5 = "cortexr5" | 10 | ARMPKGARCH_tune-cortexr5 = "cortexr5" |
| 11 | 11 | ||
| 12 | TUNE_FEATURES_tune-cortexr5 = "cortexr5" | 12 | TUNE_FEATURES_tune-cortexr5 = "cortexr5" |
| 13 | #PACKAGE_EXTRA_ARCHS_tune-cortexr5 = "cortexr5" \ No newline at end of file | 13 | |
| 14 | #PACKAGE_EXTRA_ARCHS_tune-cortexr5 = "cortexr5" | ||
| 15 | |||
| 16 | |||
| 17 | GCC_CONFIGURE_R5 ?= " \ | ||
| 18 | --disable-decimal-float \ | ||
| 19 | --disable-libffi \ | ||
| 20 | --disable-libgomp \ | ||
| 21 | --disable-libquadmath \ | ||
| 22 | --disable-libssp \ | ||
| 23 | --disable-shared \ | ||
| 24 | --disable-threads \ | ||
| 25 | --disable-tls \ | ||
| 26 | --enable-plugins \ | ||
| 27 | --with-gnu-as \ | ||
| 28 | --with-gnu-ld \ | ||
| 29 | --with-headers=yes \ | ||
| 30 | --with-host-libstdcxx=-static-libgcc \ | ||
| 31 | --with-multilib-list=rmprofile \ | ||
| 32 | " | ||
| 33 | |||
| 34 | |||
| 35 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_append_xilinx-standalone = " \ | ||
| 36 | ${GCC_CONFIGURE_R5} \ | ||
| 37 | " | ||
| 38 | |||
| 39 | BINUTILS_CONFIGURE_R5 ?= " \ | ||
| 40 | --disable-docs \ | ||
| 41 | --disable-nls \ | ||
| 42 | -enable-interwork \ | ||
| 43 | " | ||
| 44 | |||
| 45 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_append_xilinx-standalone = " \ | ||
| 46 | ${BINUTILS_CONFIGURE_R5} \ | ||
| 47 | " | ||
| 48 | |||
diff --git a/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf b/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf index 6759c2d8..85b3315e 100644 --- a/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf +++ b/meta-xilinx-standalone/conf/machine/zynqmp-pmu.conf | |||
| @@ -9,3 +9,32 @@ PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | |||
| 9 | SOC_FAMILY = "zynqmp" | 9 | SOC_FAMILY = "zynqmp" |
| 10 | 10 | ||
| 11 | TARGET_LINK_HASH_STYLE_microblaze = "" | 11 | TARGET_LINK_HASH_STYLE_microblaze = "" |
| 12 | |||
| 13 | GCC_CONFIGURE_MB ?= " \ | ||
| 14 | --disable-__cxa_atexit \ | ||
| 15 | --disable-libgomp \ | ||
| 16 | --disable-shared \ | ||
| 17 | --enable-lto \ | ||
| 18 | --enable-target-optspace \ | ||
| 19 | --enable-threads=no \ | ||
| 20 | --with-isl=no \ | ||
| 21 | --with-ppl=no \ | ||
| 22 | --without-long-double-128 \ | ||
| 23 | " | ||
| 24 | |||
| 25 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_append_xilinx-standalone = " \ | ||
| 26 | ${GCC_CONFIGURE_MB} \ | ||
| 27 | " | ||
| 28 | |||
| 29 | |||
| 30 | BINUTILS_CONFIGURE_MB ?= " \ | ||
| 31 | --disable-initfini-array \ | ||
| 32 | --disable-nls \ | ||
| 33 | --enable-gold=no \ | ||
| 34 | --enable-ld=yes \ | ||
| 35 | --enable-multilib \ | ||
| 36 | " | ||
| 37 | |||
| 38 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_append_xilinx-standalone = " \ | ||
| 39 | ${BINUTILS_CONFIGURE_MB} \ | ||
| 40 | " \ No newline at end of file | ||
diff --git a/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend new file mode 100644 index 00000000..25b1090a --- /dev/null +++ b/meta-xilinx-standalone/recipes-standalone/binutils/binutils-cross_%.bbappend | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | BINUTILS_CONFIGURE_COMMON_XILINX_STANDALONE = " \ | ||
| 2 | --disable-gdb \ | ||
| 3 | --disable-sim \ | ||
| 4 | " | ||
| 5 | |||
| 6 | |||
| 7 | # The following is a copy of what is in OE-Core, without LDGOLD, because we have to do gold per machine instead | ||
| 8 | EXTRA_OECONF_pn-binutils-cross-${TARGET_ARCH}_xilinx-standalone = " \ | ||
| 9 | --program-prefix=${TARGET_PREFIX} \ | ||
| 10 | --disable-werror \ | ||
| 11 | --enable-deterministic-archives \ | ||
| 12 | --enable-plugins \ | ||
| 13 | ${BINUTILS_CONFIGURE_COMMON_XILINX_STANDALONE} \ | ||
| 14 | " | ||
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend new file mode 100644 index 00000000..93cfc339 --- /dev/null +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | GCC_CONFIGURE_COMMON_XILINX_STANDALONE = " \ | ||
| 2 | --disable-libmudflap \ | ||
| 3 | --disable-libstdcxx-pch \ | ||
| 4 | --disable-nls \ | ||
| 5 | --enable-languages=${LANGUAGES} \ | ||
| 6 | --with-newlib \ | ||
| 7 | " | ||
| 8 | |||
| 9 | # This is still missing a way to remove infiniarray, if we really have to we could use _remove | ||
| 10 | EXTRA_OECONF_pn-gcc-cross-canadian-${TARGET_ARCH}_xilinx-standalone = " \ | ||
| 11 | ${GCC_CONFIGURE_COMMON_XILINX_STANDALONE} \ | ||
| 12 | --program-prefix=${TARGET_PREFIX} \ | ||
| 13 | --without-local-prefix \ | ||
| 14 | ${EXTRA_OECONF_PATHS} \ | ||
| 15 | " | ||
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend index ef5d8190..2ff64b7e 100644 --- a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend | |||
| @@ -1,18 +1,21 @@ | |||
| 1 | # By using tclibc-baremetal we loose sysroot functionality due to some | 1 | # By using tclibc-newlib we loose sysroot functionality due to some |
| 2 | # append/override behavior We need to get that back , the following append | 2 | # append/override behavior We need to get that back , the following append |
| 3 | # overrides everything on EXTRA_OECONF for gcc cross target it avoids | 3 | # overrides everything on EXTRA_OECONF for gcc cross target it avoids |
| 4 | # overlapping with crt0 because of --enable-linker-id from EXTRA_OECONF | 4 | # overlapping with crt0 because of --enable-linker-id from EXTRA_OECONF |
| 5 | 5 | ||
| 6 | EXTRA_OECONF_BASE_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone_append = " \ | 6 | |
| 7 | ${LTO} \ | 7 | GCC_CONFIGURE_COMMON_XILINX_STANDALONE = " \ |
| 8 | ${SSP} \ | 8 | --disable-libmudflap \ |
| 9 | --enable-libitm \ | 9 | --disable-libstdcxx-pch \ |
| 10 | --disable-bootstrap \ | 10 | --disable-nls \ |
| 11 | --disable-libmudflap \ | 11 | --enable-languages=${LANGUAGES} \ |
| 12 | --with-system-zlib \ | 12 | --with-newlib \ |
| 13 | --with-ppl=no \ | 13 | " |
| 14 | --with-cloog=no \ | 14 | |
| 15 | --enable-checking=release \ | 15 | # This is still missing a way to remove infiniarray, if we really have to we could use _remove |
| 16 | --enable-cheaders=c_global \ | 16 | EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_xilinx-standalone = " \ |
| 17 | --without-isl \ | 17 | ${GCC_CONFIGURE_COMMON_XILINX_STANDALONE} \ |
| 18 | --program-prefix=${TARGET_PREFIX} \ | ||
| 19 | --without-local-prefix \ | ||
| 20 | ${EXTRA_OECONF_PATHS} \ | ||
| 18 | " | 21 | " |
