diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2020-01-28 10:03:17 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-01-28 10:04:01 -0800 |
| commit | fcf5f7a15a00ed0db43655045e1213aa3d4b131d (patch) | |
| tree | 374b502a9b39e404a1c5bcd99185c5f8b4f94e6e /meta-xilinx-standalone | |
| parent | 75d180775c7e1ff0c6d71a3a0496b7fb5c103c81 (diff) | |
| download | meta-xilinx-fcf5f7a15a00ed0db43655045e1213aa3d4b131d.tar.gz | |
gcc-cross-canadian: Fix issue being unable to find stdio.h
An error in commit: 7e99d6d01b7b685048b35ac77ea6938ab2708097 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.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone')
| -rw-r--r-- | meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend index 19862cb9..822891be 100644 --- a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross-canadian_%.bbappend | |||
| @@ -1 +1,11 @@ | |||
| 1 | require gcc-xilinx-standalone.inc | 1 | require gcc-xilinx-standalone.inc |
| 2 | |||
| 3 | # Temporary hack to build gcc cross canadian for tclibc-newlib as --with-sysroot=/not/exist | ||
| 4 | # has been removed from TARGET_OS for elf and eabi in gcc-cross-canadian.inc | ||
| 5 | |||
| 6 | python() { | ||
| 7 | extraoeconfgcc = d.getVar('EXTRA_OECONF') | ||
| 8 | extraoeconfgcc += " --with-sysroot=/not/exist" | ||
| 9 | d.delVar('EXTRA_OECONF') | ||
| 10 | d.setVar('EXTRA_OECONF', extraoeconfgcc) | ||
| 11 | } | ||
