blob: 152348486023b316448949d6a05ddeb926e24dc9 [file] [log] [blame]
require gcc-configure-xilinx-standalone.inc
require gcc-xilinx-standalone.inc
# We want to use the stock multilib configs, when available
EXTRACONFFUNCS_xilinx-standalone = ""
EXTRA_OECONF_append_xilinx-standalone = " \
--enable-multilib \
"
# 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)
}