diff options
Diffstat (limited to 'meta-xilinx-standalone/recipes-devtools')
-rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend | 8 |
1 files changed, 8 insertions, 0 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 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 | } | ||