[OE-core] [PATCH 2/3] libxcrypt-compat: Add recipe to build the obsolete APIs

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jun 19 13:56:42 UTC 2019


Add a recipe which is able to build the obsolete APIs. This is mainly
to support uninative which needs to have both the new and obsolete APIs
available to support the different host combinations.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../libxcrypt/libxcrypt-compat_4.4.6.bb          | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.6.bb

diff --git a/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.6.bb b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.6.bb
new file mode 100644
index 00000000000..810c707e881
--- /dev/null
+++ b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.6.bb
@@ -0,0 +1,16 @@
+#
+# This provides libcrypto.so.1 which contains obsolete APIs, needed for uninative in particular
+#
+
+require libxcrypt_${PV}.bb
+
+PROVIDES = ""
+
+API = "--enable-obsolete-api"
+
+do_install_append () {
+	rm -rf ${D}${includedir}
+	rm -rf ${D}${libdir}/pkgconfig
+	rm -rf ${D}${datadir}
+}
+
-- 
2.20.1



More information about the Openembedded-core mailing list