diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-02 04:37:04 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-03 08:49:00 -0800 |
| commit | d434124f8b0f74ac9fa9d1532d37f7ce06903bc0 (patch) | |
| tree | a2310a900688391dcc147af0785da73bf7eb6c1c /meta-xilinx-standalone/recipes-devtools | |
| parent | 1ded92c8fbc186339abbeeacf2c8030ec1b83051 (diff) | |
| download | meta-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.%.bbappend | 13 | ||||
| -rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_11.%.bbappend | 14 |
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) | ||
| 2 | FILESEXTRAPATHS:append:microblaze:xilinx-standalone := ":${THISDIR}/gcc-10" | ||
| 3 | SRC_URI:append:microblaze:xilinx-standalone = " \ | ||
| 4 | file://additional-microblaze-multilibs.patch \ | ||
| 5 | " | ||
| 6 | |||
| 7 | CHECK_FOR_MICROBLAZE:microblaze = "1" | ||
| 8 | |||
| 9 | python() { | ||
| 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 @@ | |||
| 1 | COMPATIBLE_HOST = "${HOST_SYS}" | 1 | COMPATIBLE_HOST = "${HOST_SYS}" |
| 2 | |||
| 3 | # Add MicroBlaze Patches (only when using MicroBlaze) | ||
| 4 | FILESEXTRAPATHS:append:microblaze:xilinx-standalone := ":${THISDIR}/gcc-11" | ||
| 5 | SRC_URI:append:microblaze:xilinx-standalone = " \ | ||
| 6 | file://additional-microblaze-multilibs.patch \ | ||
| 7 | " | ||
| 8 | |||
| 9 | CHECK_FOR_MICROBLAZE:microblaze = "1" | ||
| 10 | |||
| 11 | python() { | ||
| 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 | } | ||
