gcc-cross-canadian: Fix issue being unable to find stdio.h
An error in commit: resulted in
dropping the section that restored the --with-sysroot workaround.  This
is required for the standard lib and include patches to be defined by the
toolchain.
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() {
+ extraoeconfgcc = d.getVar('EXTRA_OECONF')
+ extraoeconfgcc += " --with-sysroot=/not/exist"
+ d.delVar('EXTRA_OECONF')
+ d.setVar('EXTRA_OECONF', extraoeconfgcc)
+}
