aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-devtools/gcc/gcc-source_10.%.bbappend
blob: d3abc611be1dbcc947ad30ba09de001df6b37579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
COMPATIBLE_HOST = "${HOST_SYS}"

# Add MicroBlaze Patches (only when using MicroBlaze)
FILESEXTRAPATHS_append_microblaze_xilinx-standalone := ":${THISDIR}/gcc-10"
SRC_URI_append_microblaze_xilinx-standalone = " \
        file://additional-microblaze-multilibs.patch \
"

CHECK_FOR_MICROBLAZE_microblaze = "1"

python() {
    if d.getVar('CHECK_FOR_MICROBLAZE') == '1':
        if 'xilinx-microblaze' not in d.getVar('BBFILE_COLLECTIONS').split():
            bb.fatal('You must include the meta-microblaze layer to build for this configuration.')
}