diff options
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r-- | meta-xilinx-standalone/conf/layer.conf | 1 | ||||
-rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/conf/layer.conf b/meta-xilinx-standalone/conf/layer.conf index cef1039e..de1acee8 100644 --- a/meta-xilinx-standalone/conf/layer.conf +++ b/meta-xilinx-standalone/conf/layer.conf | |||
@@ -13,6 +13,7 @@ BBFILE_PATTERN_xilinx-standalone = "^${LAYERDIR}/" | |||
13 | BBFILE_PRIORITY_xilinx-standalone = "7" | 13 | BBFILE_PRIORITY_xilinx-standalone = "7" |
14 | 14 | ||
15 | LAYERDEPENDS_xilinx-standalone = "core xilinx" | 15 | LAYERDEPENDS_xilinx-standalone = "core xilinx" |
16 | LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze" | ||
16 | 17 | ||
17 | LAYERSERIES_COMPAT_xilinx-standalone = "dunfell gatesgarth" | 18 | LAYERSERIES_COMPAT_xilinx-standalone = "dunfell gatesgarth" |
18 | XILINX_RELEASE_VERSION = "v2020.2" | 19 | XILINX_RELEASE_VERSION = "v2020.2" |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend index e1876700..d3abc611 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend | |||
@@ -5,3 +5,11 @@ FILESEXTRAPATHS_append_microblaze_xilinx-standalone := ":${THISDIR}/gcc-10" | |||
5 | SRC_URI_append_microblaze_xilinx-standalone = " \ | 5 | SRC_URI_append_microblaze_xilinx-standalone = " \ |
6 | file://additional-microblaze-multilibs.patch \ | 6 | file://additional-microblaze-multilibs.patch \ |
7 | " | 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 | } | ||