Hi Alejandro,

On 06/12/18 22:56, Alejandro Enedino Hernandez Samaniego wrote:
> 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.

I suggest moving or copying this explanation...

> 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

...here, so it is visible close to the code without need to dig in the
git archives.

> +do_install_append_zynqmp-pmu(){
> +  cp ${D}/${libdir}/libgloss.a ${D}/${libdir}/libxil.a

A symlink should be enough here.

-- 
Luca
-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to