diff options
author | Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | 2018-10-04 14:25:10 -0700 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-01-01 20:03:46 -0800 |
commit | 82bff94fcceee449197ffa1ac851a7b5ea5df4ab (patch) | |
tree | 766bcbc8c7068e272ccea12561076914e5d38bb0 | |
parent | 78a8d7bbd324e3b27ecd7905735348861043a222 (diff) | |
download | meta-xilinx-82bff94fcceee449197ffa1ac851a7b5ea5df4ab.tar.gz |
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.bbappend | 4 |
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 00000000..c2af4f90 --- /dev/null +++ b/meta-xilinx-standalone/recipes-standalone/newlib/libgloss_3.0.0.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | # We use libgloss as if it was libxil, to avoid linking issues | ||
2 | do_install_append_zynqmp-pmu(){ | ||
3 | cp ${D}/${libdir}/libgloss.a ${D}/${libdir}/libxil.a | ||
4 | } | ||