aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>2018-10-04 14:23:46 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-01-01 20:03:46 -0800
commit78a8d7bbd324e3b27ecd7905735348861043a222 (patch)
treee21aa61d9575b7b86ab6158268b7ad65890b8307
parent2b6d3099ddff4c854cc63ee53532f59a42d31175 (diff)
downloadmeta-xilinx-78a8d7bbd324e3b27ecd7905735348861043a222.tar.gz
meta-xilinx-78a8d7bbd324e3b27ecd7905735348861043a222.tar.bz2
meta-xilinx-78a8d7bbd324e3b27ecd7905735348861043a222.zip
Adds gcc bbappend to fix configure options, and enable --sysroot behavior
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend
new file mode 100644
index 0000000..bfcda3d
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend
@@ -0,0 +1,18 @@
+# By using tclibc-baremetal we loose sysroot functionality due to some
+# append/override behavior We need to get that back , the following append
+# overrides everything on EXTRA_OECONF for gcc cross target it avoids
+# overlapping with crt0 because of --enable-linker-id from EXTRA_OECONF
+
+EXTRA_OECONF_BASE_pn-gcc-cross-${TARGET_ARCH}_append = " \
+ ${LTO} \
+ ${SSP} \
+ --enable-libitm \
+ --disable-bootstrap \
+ --disable-libmudflap \
+ --with-system-zlib \
+ --with-ppl=no \
+ --with-cloog=no \
+ --enable-checking=release \
+ --enable-cheaders=c_global \
+ --without-isl \
+"