summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-devtools
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-12-02 04:37:04 -0800
committerMark Hatle <mark.hatle@xilinx.com>2021-12-03 08:49:00 -0800
commitd434124f8b0f74ac9fa9d1532d37f7ce06903bc0 (patch)
treea2310a900688391dcc147af0785da73bf7eb6c1c /meta-xilinx-standalone/recipes-devtools
parent1ded92c8fbc186339abbeeacf2c8030ec1b83051 (diff)
downloadmeta-xilinx-d434124f8b0f74ac9fa9d1532d37f7ce06903bc0.tar.gz
gcc-source: Move from gcc 10 to gcc 11 support
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-devtools')
-rw-r--r--meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend13
-rw-r--r--meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend14
2 files changed, 14 insertions, 13 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend
deleted file mode 100644
index c0ffbe40..00000000
--- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend
+++ /dev/null
@@ -1,13 +0,0 @@
1# Add MicroBlaze Patches (only when using MicroBlaze)
2FILESEXTRAPATHS:append:microblaze:xilinx-standalone := ":${THISDIR}/gcc-10"
3SRC_URI:append:microblaze:xilinx-standalone = " \
4 file://additional-microblaze-multilibs.patch \
5"
6
7CHECK_FOR_MICROBLAZE:microblaze = "1"
8
9python() {
10 if d.getVar('CHECK_FOR_MICROBLAZE') == '1':
11 if 'xilinx-microblaze' not in d.getVar('BBFILE_COLLECTIONS').split():
12 bb.fatal('You must include the meta-microblaze layer to build for this configuration.')
13}
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend
index 0d824324..d8b803a3 100644
--- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend
+++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend
@@ -1 +1,15 @@
1COMPATIBLE_HOST = "${HOST_SYS}" 1COMPATIBLE_HOST = "${HOST_SYS}"
2
3# Add MicroBlaze Patches (only when using MicroBlaze)
4FILESEXTRAPATHS:append:microblaze:xilinx-standalone := ":${THISDIR}/gcc-11"
5SRC_URI:append:microblaze:xilinx-standalone = " \
6 file://additional-microblaze-multilibs.patch \
7"
8
9CHECK_FOR_MICROBLAZE:microblaze = "1"
10
11python() {
12 if d.getVar('CHECK_FOR_MICROBLAZE') == '1':
13 if 'xilinx-microblaze' not in d.getVar('BBFILE_COLLECTIONS').split():
14 bb.fatal('You must include the meta-microblaze layer to build for this configuration.')
15}