aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>2018-10-04 14:25:10 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-01-01 20:03:46 -0800
commit82bff94fcceee449197ffa1ac851a7b5ea5df4ab (patch)
tree766bcbc8c7068e272ccea12561076914e5d38bb0
parent78a8d7bbd324e3b27ecd7905735348861043a222 (diff)
downloadmeta-xilinx-82bff94fcceee449197ffa1ac851a7b5ea5df4ab.tar.gz
meta-xilinx-82bff94fcceee449197ffa1ac851a7b5ea5df4ab.tar.bz2
meta-xilinx-82bff94fcceee449197ffa1ac851a7b5ea5df4ab.zip
libgloss: Copy libgloss as libxil to avoid linking issues
Upstream gcc expects to have libxil available when linking, we can get the required symbols (weak) from libgloss. We copy libgloss as libxil to comply with upstream behavior and avoid linking errors. 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/newlib/libgloss_3.0.0.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-standalone/newlib/libgloss_3.0.0.bbappend b/meta-xilinx-standalone/recipes-standalone/newlib/libgloss_3.0.0.bbappend
new file mode 100644
index 0000000..c2af4f9
--- /dev/null
+++ b/meta-xilinx-standalone/recipes-standalone/newlib/libgloss_3.0.0.bbappend
@@ -0,0 +1,4 @@
+# We use libgloss as if it was libxil, to avoid linking issues
+do_install_append_zynqmp-pmu(){
+ cp ${D}/${libdir}/libgloss.a ${D}/${libdir}/libxil.a
+}