aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend
blob: 449db177a01f5327e6fed6d9e4c2662bdf68c607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require gcc-configure-xilinx-standalone.inc
require gcc-xilinx-standalone.inc

# Temporary hack to build gcc cross canadian for tclibc-newlib as --with-sysroot=/not/exist
# has been removed from TARGET_OS for elf and eabi in gcc-cross-canadian.inc

python() {
    if 'xilinx-standalone' in d.getVar("DISTROOVERRIDES").split(':'):
        extraoeconfgcc = d.getVar('EXTRA_OECONF')
        extraoeconfgcc += " --with-sysroot=/not/exist"
        d.delVar('EXTRA_OECONF')
        d.setVar('EXTRA_OECONF', extraoeconfgcc)
}