Add a recipe for libgloss 2.5.0. This library is used to provide startup
code, and IO for baremetal targets. This is used by newlib to provide a
functional libc.

This library is used by the Xilinx standalone libraries/applications.

Signed-off-by: Nathan Rossi <[email protected]>
---
 recipes-core/newlib/libgloss_2.5.0.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-core/newlib/libgloss_2.5.0.bb

diff --git a/recipes-core/newlib/libgloss_2.5.0.bb 
b/recipes-core/newlib/libgloss_2.5.0.bb
new file mode 100644
index 0000000000..5d05b56d55
--- /dev/null
+++ b/recipes-core/newlib/libgloss_2.5.0.bb
@@ -0,0 +1,21 @@
+
+require newlib.inc
+
+SRC_URI[md5sum] = "767dc60aaf814d091997d91d588968b2"
+SRC_URI[sha256sum] = 
"5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b"
+
+DEPENDS += "newlib"
+
+do_configure() {
+       ${S}/libgloss/configure ${CONFIGUREOPTS}
+}
+
+do_install_prepend() {
+       # install doesn't create this itself
+       install -d ${D}${prefix}/${TARGET_SYS}/lib
+}
+
+FILES_${PN} += "${libdir}/*.ld ${libdir}/*.specs"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-- 
2.11.0

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to