diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-10-26 14:47:53 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-10-27 00:08:02 +0300 |
commit | b6d590af3f28f1737ff681ed0ed94d812878962c (patch) | |
tree | 59cdd5c1003468ef563cd0b4d0426cf38d04f715 /meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc | |
parent | 7bf39c061342ec43d4fe59d041858515a5afca92 (diff) | |
download | openbmc-b6d590af3f28f1737ff681ed0ed94d812878962c.tar.xz |
meta-xilinx: remove subtree
The meta-xilinx layer was used for a now-deleted EVB. Neither the EVB
nor the meta-xilinx layer have been updated for the Yocto override
syntax change and the meta-xilinx still doesn't have a hardknott or
honister branch (or corresponding support).
I've asked the Xilinx maintainer back in May on when a hardknott
version would be supported and I was told "about a month from now". I
followed up in August and was told "work is in progress". As of today
there are still zero commits in meta-xilinx since January 2021.
As such, I do not believe this layer is well-maintained and we have no
specific use for it anymore. Remove it until someone finds a good
reason to include it and the upstream shows signs of life.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id14ea55db2ac2779edf42e63cb57ad7d25172ad5
Diffstat (limited to 'meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc')
10 files changed, 0 insertions, 344 deletions
diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-10/additional-microblaze-multilibs.patch b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-10/additional-microblaze-multilibs.patch deleted file mode 100644 index 3d520d0f9..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-10/additional-microblaze-multilibs.patch +++ /dev/null @@ -1,86 +0,0 @@ -Change the multilib settings to match the expectations of Vitis and related. - -The multilib list is as follows: - -.; -le;@mlittle-endian -bs;@mxl-barrel-shift -p;@mxl-pattern-compare -m;@mno-xl-soft-mul -fpd;@mhard-float -m/fpd;@mno-xl-soft-mul@mhard-float -p/m;@mxl-pattern-compare@mno-xl-soft-mul -p/fpd;@mxl-pattern-compare@mhard-float -p/m/fpd;@mxl-pattern-compare@mno-xl-soft-mul@mhard-float -bs/p;@mxl-barrel-shift@mxl-pattern-compare -bs/m;@mxl-barrel-shift@mno-xl-soft-mul -bs/fpd;@mxl-barrel-shift@mhard-float -bs/m/fpd;@mxl-barrel-shift@mno-xl-soft-mul@mhard-float -bs/p/m;@mxl-barrel-shift@mxl-pattern-compare@mno-xl-soft-mul -bs/p/fpd;@mxl-barrel-shift@mxl-pattern-compare@mhard-float -bs/p/m/fpd;@mxl-barrel-shift@mxl-pattern-compare@mno-xl-soft-mul@mhard-float -le/m64;@mlittle-endian@m64 -le/bs;@mlittle-endian@mxl-barrel-shift -le/p;@mlittle-endian@mxl-pattern-compare -le/m;@mlittle-endian@mno-xl-soft-mul -le/fpd;@mlittle-endian@mhard-float -le/m/fpd;@mlittle-endian@mno-xl-soft-mul@mhard-float -le/p/m;@mlittle-endian@mxl-pattern-compare@mno-xl-soft-mul -le/p/fpd;@mlittle-endian@mxl-pattern-compare@mhard-float -le/p/m/fpd;@mlittle-endian@mxl-pattern-compare@mno-xl-soft-mul@mhard-float -le/bs/p;@mlittle-endian@mxl-barrel-shift@mxl-pattern-compare -le/bs/m;@mlittle-endian@mxl-barrel-shift@mno-xl-soft-mul -le/bs/fpd;@mlittle-endian@mxl-barrel-shift@mhard-float -le/bs/m/fpd;@mlittle-endian@mxl-barrel-shift@mno-xl-soft-mul@mhard-float -le/bs/p/m;@mlittle-endian@mxl-barrel-shift@mxl-pattern-compare@mno-xl-soft-mul -le/bs/p/fpd;@mlittle-endian@mxl-barrel-shift@mxl-pattern-compare@mhard-float -le/bs/p/m/fpd;@mlittle-endian@mxl-barrel-shift@mxl-pattern-compare@mno-xl-soft-mul@mhard-float -le/m64/bs;@mlittle-endian@m64@mxl-barrel-shift -le/m64/p;@mlittle-endian@m64@mxl-pattern-compare -le/m64/m;@mlittle-endian@m64@mno-xl-soft-mul -le/m64/fpd;@mlittle-endian@m64@mhard-float -le/m64/m/fpd;@mlittle-endian@m64@mno-xl-soft-mul@mhard-float -le/m64/p/m;@mlittle-endian@m64@mxl-pattern-compare@mno-xl-soft-mul -le/m64/p/fpd;@mlittle-endian@m64@mxl-pattern-compare@mhard-float -le/m64/p/m/fpd;@mlittle-endian@m64@mxl-pattern-compare@mno-xl-soft-mul@mhard-float -le/m64/bs/p;@mlittle-endian@m64@mxl-barrel-shift@mxl-pattern-compare -le/m64/bs/m;@mlittle-endian@m64@mxl-barrel-shift@mno-xl-soft-mul -le/m64/bs/fpd;@mlittle-endian@m64@mxl-barrel-shift@mhard-float -le/m64/bs/m/fpd;@mlittle-endian@m64@mxl-barrel-shift@mno-xl-soft-mul@mhard-float -le/m64/bs/p/m;@mlittle-endian@m64@mxl-barrel-shift@mxl-pattern-compare@mno-xl-soft-mul -le/m64/bs/p/fpd;@mlittle-endian@m64@mxl-barrel-shift@mxl-pattern-compare@mhard-float -le/m64/bs/p/m/fpd;@mlittle-endian@m64@mxl-barrel-shift@mxl-pattern-compare@mno-xl-soft-mul@mhard-float - -As part of this the order of the multilibs was changes from upstream to make -it easier to avoid big-endian m64, which is not supported by the toolchain. - -Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> - -Index: gcc-9.2.0/gcc/config/microblaze/t-microblaze -=================================================================== ---- gcc-9.2.0.orig/gcc/config/microblaze/t-microblaze -+++ gcc-9.2.0/gcc/config/microblaze/t-microblaze -@@ -1,17 +1,11 @@ --MULTILIB_OPTIONS = m64 mxl-barrel-shift mlittle-endian mno-xl-soft-mul mxl-multiply-high --#MULTILIB_DIRNAMES = m64 bs le m mh --MULTILIB_DIRNAMES = . . . . . --MULTILIB_EXCEPTIONS = *m64/mxl-multiply-high mxl-multiply-high --MULTILIB_EXCEPTIONS += *m64 --MULTILIB_EXCEPTIONS += *m64/mxl-barrel-shift --MULTILIB_EXCEPTIONS += *m64/mno-xl-soft-mul --MULTILIB_EXCEPTIONS += *m64/mxl-barrel-shift/mno-xl-soft-mul --MULTILIB_EXCEPTIONS += *m64/mno-xl-soft-mul --MULTILIB_EXCEPTIONS += *m64/mxl-barrel-shift/mno-xl-soft-mul/mxl-multiply-high --MULTILIB_EXCEPTIONS += *m64/mno-xl-soft-mul/mxl-multiply-high -+MULTILIB_OPTIONS = mlittle-endian m64 mxl-barrel-shift mxl-pattern-compare mno-xl-soft-mul mhard-float -+MULTILIB_DIRNAMES = le m64 bs p m fpd -+MULTILIB_EXCEPTIONS = mxl-multiply-high - MULTILIB_EXCEPTIONS += *mxl-barrel-shift/mxl-multiply-high mxl-multiply-high - MULTILIB_EXCEPTIONS += *mlittle-endian/mxl-multiply-high mxl-multiply-high --MULTILIB_EXCEPTIONS += *m64/mxl-barrel-shift/mlittle-endian/mxl-multiply-high -+MULTILIB_EXCEPTIONS += *mxl-pattern-compare*/*mxl-multiply-high* -+# Big endian m64 is not supported -+MULTILIB_EXCEPTIONS += m64* - - # Extra files - microblaze-c.o: $(srcdir)/config/microblaze/microblaze-c.c \ diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc deleted file mode 100644 index b9bfe83dd..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-configure-xilinx-standalone.inc +++ /dev/null @@ -1,7 +0,0 @@ -# Mimic the file gcc-configure-common from the Yocto Project -LINKER_HASH_STYLE_xilinx-standalone = "" -SYMVERS_CONF_xilinx-standalone = "" - -EXTRA_OECONF_append_xilinx-standalone_microblaze = " --disable-initfini_array" - -EXTRA_OECONF_append_xilinx-standalone_microblaze = " --disable-__cxa_atexit" diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend deleted file mode 100644 index 152348486..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend +++ /dev/null @@ -1,20 +0,0 @@ -require gcc-configure-xilinx-standalone.inc -require gcc-xilinx-standalone.inc - -# We want to use the stock multilib configs, when available -EXTRACONFFUNCS_xilinx-standalone = "" - -EXTRA_OECONF_append_xilinx-standalone = " \ - --enable-multilib \ -" - -# Temporary hack to build gcc cross canadian for tclibc-newlib as --with-sysroot=/not/exist -# has been removed from TARGET_OS for elf and eabi in gcc-cross-canadian.inc - -python() { - if 'xilinx-standalone' in d.getVar("DISTROOVERRIDES").split(':'): - extraoeconfgcc = d.getVar('EXTRA_OECONF') - extraoeconfgcc += " --with-sysroot=/not/exist" - d.delVar('EXTRA_OECONF') - d.setVar('EXTRA_OECONF', extraoeconfgcc) -} diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross_%.bbappend b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross_%.bbappend deleted file mode 100644 index 22a3e3a9b..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross_%.bbappend +++ /dev/null @@ -1,6 +0,0 @@ -require gcc-configure-xilinx-standalone.inc -require gcc-xilinx-standalone.inc - -# We want to use the stock multilib configs, when available -EXTRACONFFUNCS_xilinx-standalone = "" - diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend deleted file mode 100644 index 7057a0576..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ /dev/null @@ -1,74 +0,0 @@ -require gcc-configure-xilinx-standalone.inc - -COMPATIBLE_HOST = "${HOST_SYS}" - -EXTRA_OECONF_append_xilinx-standalone_class-target = " \ - --disable-libstdcxx-pch \ - --with-newlib \ - --disable-threads \ - --enable-plugins \ - --with-gnu-as \ - --disable-libitm \ -" - -EXTRA_OECONF_append_xilinx-standalone_aarch64_class-target = " \ - --disable-multiarch \ - --with-arch=armv8-a \ - " - -# Both arm and armrm overrides are set w/ cortex r5 -# So only set rmprofile if armrm is defined. -ARM_PROFILE = "aprofile" -ARM_PROFILE_armrm = "rmprofile" - -EXTRA_OECONF_append_xilinx-standalone_arm_class-target = " \ - --with-multilib-list=${ARM_PROFILE} \ - " - -EXTRA_OECONF_append_xilinx-standalone_armrm_class-target = " \ - --disable-tls \ - --disable-decimal-float \ - " - -EXTRA_OECONF_append_xilinx-standalone_microblaze_class-target = " \ - --enable-target-optspace \ - --without-long-double-128 \ - " - -# Changes local to gcc-runtime... - -# Dont build libitm, etc. -RUNTIMETARGET_xilinx-standalone_class-target = "libstdc++-v3" - -do_install_append_xilinx-standalone_class-target() { - # Fixup what gcc-runtime normally would do, we don't want linux directories! - rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux - - # The multilibs have different headers, so stop combining them! - if [ "${TARGET_VENDOR_MULTILIB_ORIGINAL}" != "" -a "${TARGET_VENDOR}" != "${TARGET_VENDOR_MULTILIB_ORIGINAL}" ]; then - rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS} - fi - - # link the C++ header into the place that multilib gcc expects - # C++ compiler looks at usr/include/c++/version/canonical-arch/mlib - if [ "${TARGET_SYS_MULTILIB_ORIGINAL}" != "" -a "${TARGET_SYS_MULTILIB_ORIGINAL}" != "${TARGET_SYS}" ]; then - mlib=${BASE_LIB_tune-${DEFAULTTUNE}} - mlib=${mlib##lib/} - - link_name=${D}${includedir}/c++/${BINV}/${TARGET_SYS_MULTILIB_ORIGINAL}/${mlib} - target=${D}${includedir}/c++/${BINV}/${TARGET_SYS} - - echo mkdir -p $link_name - mkdir -p $link_name - for each in bits ext ; do - relpath=$(python3 -c "import os.path; print(os.path.relpath('$target/$each', '$(dirname $link_name/$each)'))") - - echo ln -s $relpath $link_name/$each - ln -s $relpath $link_name/$each - done - fi -} - -FILES_${PN}-dbg_append_xilinx-standalone_class-target = "\ - ${libdir}/libstdc++.a-gdb.py \ -" diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend deleted file mode 100644 index d3abc611b..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend +++ /dev/null @@ -1,15 +0,0 @@ -COMPATIBLE_HOST = "${HOST_SYS}" - -# Add MicroBlaze Patches (only when using MicroBlaze) -FILESEXTRAPATHS_append_microblaze_xilinx-standalone := ":${THISDIR}/gcc-10" -SRC_URI_append_microblaze_xilinx-standalone = " \ - file://additional-microblaze-multilibs.patch \ -" - -CHECK_FOR_MICROBLAZE_microblaze = "1" - -python() { - if d.getVar('CHECK_FOR_MICROBLAZE') == '1': - if 'xilinx-microblaze' not in d.getVar('BBFILE_COLLECTIONS').split(): - bb.fatal('You must include the meta-microblaze layer to build for this configuration.') -} diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc deleted file mode 100644 index 29f67aff2..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc +++ /dev/null @@ -1,31 +0,0 @@ -EXTRA_OECONF_append_xilinx-standalone = " \ - --disable-libstdcxx-pch \ - --with-newlib \ - --disable-threads \ - --enable-plugins \ - --with-gnu-as \ - --disable-libitm \ -" - -EXTRA_OECONF_append_xilinx-standalone_aarch64 = " \ - --disable-multiarch \ - --with-arch=armv8-a \ - " - -# Both arm and armrm overrides are set w/ cortex r5 -# So only set rmprofile if armrm is defined. -ARM_PROFILE = "aprofile" -ARM_PROFILE_armrm = "rmprofile" -EXTRA_OECONF_append_xilinx-standalone_arm = " \ - --with-multilib-list=${ARM_PROFILE} \ - " - -EXTRA_OECONF_append_xilinx-standalone_armrm = " \ - --disable-tls \ - --disable-decimal-float \ - " - -EXTRA_OECONF_append_xilinx-standalone_microblaze = " \ - --enable-target-optspace \ - --without-long-double-128 \ - " diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend deleted file mode 100644 index 17529a039..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend +++ /dev/null @@ -1,29 +0,0 @@ -require gcc-configure-xilinx-standalone.inc - -COMPATIBLE_HOST = "${HOST_SYS}" - -python do_multilib_install_xilinx-standalone_class-target () { - pass -} - -standalone_fixup () { - ( - cd ${D}${libdir} - for each in ${TARGET_SYS}/*/* ; do - ln -s $each $(basename $each) - done - ) - - # Apparently we can end up with an empty /lib occasionally - find ${D}/lib -type d | sort -r | xargs rmdir || : -} - -FIXUP_FUNCTION = "" -FIXUP_FUNCTION_xilinx-standalone_class-target = " standalone_fixup" - -do_install[postfuncs] .= "${FIXUP_FUNCTION}" - -FILES_${PN}-dev_append_xilinx-standalone_class-target = " \ - ${libdir}/*.a \ - ${libdir}/*.o \ -" diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert-head.sh b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert-head.sh deleted file mode 100755 index b59dff1e0..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert-head.sh +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/bash - -# Call using: -#../microblaze/sysroots/x86_64-oesdk-linux/usr/bin/microblaze-xilinx-elf/microblaze-xilinx-elf-gcc -print-multi-lib | mb-convert-head.sh - -# Then copy the output into the special microblaze-tc BSP - -sed -e 's,;, ,' | - while read mlib args ; do - if [ $mlib = '.' ]; then - continue - fi - multilib="libmb$(echo $mlib | sed -e 's,/,,g')" - - echo 'MULTILIBS += "multilib:'${multilib}'"' - done diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh b/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh deleted file mode 100755 index e05145ec4..000000000 --- a/meta-xilinx/meta-xilinx-standalone/recipes-devtools/gcc/mb-convert.sh +++ /dev/null @@ -1,60 +0,0 @@ -#! /bin/bash - -# Call using: -#../microblaze/sysroots/x86_64-oesdk-linux/usr/bin/microblaze-xilinx-elf/microblaze-xilinx-elf-gcc -print-multi-lib | mb-convert.sh - -# Then copy the output into the special microblaze-tc BSP - -mlib_to_feature() { - feature_base="microblaze" - feature_endian=" bigendian" - feature_barrel="" - feature_pattern="" - feature_multiply="" - feature_multiplyhigh="" - feature_sixtyfour="" - feature_math="" - while read feature ; do - case $feature in - le) feature_endian="";; - bs) feature_barrel=" barrel-shift";; - p) feature_pattern=" pattern-compare";; - m) if [ -z ${feature_multiplyhigh} ]; then feature_multiply=" multiply-low" ; fi ;; - mh) feature_multiply="" ; feature_multiplyhigh=" multiply-high";; - m64) feature_sixtyfour=" 64-bit";; - fpd) feature_math=" fpu-hard";; - *) echo "UNKNOWN $feature";; - esac - done - echo "${feature_base}${feature_sixtyfour}${feature_endian}${feature_barrel}${feature_pattern}${feature_multiply}${feature_multiplyhigh}${feature_math}" -} - -sed -e 's,;, ,' | - while read mlib args ; do - if [ $mlib = '.' ]; then - echo '# Base configuration' - echo '# CFLAGS:' - echo 'DEFAULTTUNE = "microblaze"' - echo - echo 'AVAILTUNES += "microblaze"' - echo 'BASE_LIB_tune-microblaze = "lib"' - echo 'TUNE_FEATURES_tune-microblaze = "microblaze bigendian"' - echo 'PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}"' - continue - fi - - cflags=$(echo $args | sed -e 's,@, -,g') - multilib="libmb$(echo $mlib | sed -e 's,/,,g')" - tune="microblaze$(echo $mlib | sed -e 's,m64,64,' -e 's,/,,g')" - features=$(echo $mlib | sed -e 's,/, ,g' | xargs -n 1 echo | mlib_to_feature) - echo - echo - echo "# $mlib" - echo "# CFLAGS:${cflags}" - echo "DEFAULTTUNE_virtclass-multilib-$multilib = \"$tune\"" - echo - echo "AVAILTUNES += \"$tune\"" - echo "BASE_LIB_tune-$tune = \"lib/$mlib\"" - echo "TUNE_FEATURES_tune-$tune = \"${features}\"" - echo "PACKAGE_EXTRA_ARCHS_tune-$tune = \"\${TUNE_PKGARCH}\"" - done |