summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r--meta-xilinx-standalone/conf/layer.conf1
-rw-r--r--meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend8
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}/"
13BBFILE_PRIORITY_xilinx-standalone = "7" 13BBFILE_PRIORITY_xilinx-standalone = "7"
14 14
15LAYERDEPENDS_xilinx-standalone = "core xilinx" 15LAYERDEPENDS_xilinx-standalone = "core xilinx"
16LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze"
16 17
17LAYERSERIES_COMPAT_xilinx-standalone = "dunfell gatesgarth" 18LAYERSERIES_COMPAT_xilinx-standalone = "dunfell gatesgarth"
18XILINX_RELEASE_VERSION = "v2020.2" 19XILINX_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"
5SRC_URI_append_microblaze_xilinx-standalone = " \ 5SRC_URI_append_microblaze_xilinx-standalone = " \
6 file://additional-microblaze-multilibs.patch \ 6 file://additional-microblaze-multilibs.patch \
7" 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}