[meta-xilinx] [PATCH v2 2/5] libgloss_2.5.0: Add libgloss recipe

Nathan Rossi nathan at nathanrossi.com
Tue May 30 04:36:47 PDT 2017


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 <nathan at nathanrossi.com>
---
Changes in v2:
  * Move source hashes to .inc
---
 recipes-core/newlib/libgloss_2.5.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 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..6fbafc1d9f
--- /dev/null
+++ b/recipes-core/newlib/libgloss_2.5.0.bb
@@ -0,0 +1,18 @@
+
+require newlib.inc
+
+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




More information about the meta-xilinx mailing list