summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-microblaze/gdb/files/0010-Patch-gdb-Robustify-inline-function-support.patch
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2020-01-08 16:53:32 -0800
committerJaewon Lee <jaewon.lee@xilinx.com>2020-01-09 10:52:54 -0800
commitf980dd217719273a45d8ebfe5fbd95e2245472d4 (patch)
treed3b4f6abb80536ccfd417977ef760a5a21118222 /meta-xilinx-bsp/recipes-microblaze/gdb/files/0010-Patch-gdb-Robustify-inline-function-support.patch
parent12340fc54183aedf9eaa91688628fb1bddbcf450 (diff)
downloadmeta-xilinx-f980dd217719273a45d8ebfe5fbd95e2245472d4.tar.gz
gcc-cross-canadian_%.bbappend:temporary hack to build gcc cross canadian
This is a TEMPORARY HACK to build gcc-cross-canadian toolchain for the xilinx-standalone distro. xilinx-standalone.conf will set TCLIB as newlib which will pull in tclibc-newlib.inc which sets TARGET_OS to eabi for arm and elf for everything else. In gcc-cross-canadian.inc (upstream) there is a _remove('--with-sysroot=/not/exist') for TARGET_OS overrides(elf and eabi) which fixes baremetal toolchain builds by preventing the compiler from looking in nonexistent sysroot directories e.g. https://github.com/riscv/meta-riscv/issues/117 But that flag is needed when building for newlib as that is what will specify the path in the arch specific sysroots to look for the header files that were generated. Without setting --with-sysroot the following error would occur: fatal error: stdio.h: No such file or directory 1 | #include <stdio.h> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gdb/files/0010-Patch-gdb-Robustify-inline-function-support.patch')
0 files changed, 0 insertions, 0 deletions