libxcrypt-compat: Add recipe to build the obsolete APIs

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.

(From OE-Core rev: ad83f35c012e84dc8d2d27e02a4847568b4f3f35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-06-19 14:51:27 +01:00
parent 9ca072d707
commit e73e46d740
2 changed files with 19 additions and 0 deletions

View File

@@ -410,6 +410,7 @@ RECIPE_MAINTAINER_pn-libxcb = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libxcomposite = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libxcursor = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libxcrypt = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libxcrypt-compat = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libxdamage = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libxdmcp = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libxext = "Armin Kuster <akuster808@gmail.com>"

View File

@@ -0,0 +1,18 @@
#
# This provides libcrypto.so.1 which contains obsolete APIs, needed for uninative in particular
#
require libxcrypt_${PV}.bb
PROVIDES = ""
AUTO_LIBNAME_PKGS = ""
EXCLUDE_FROM_WORLD = "1"
API = "--enable-obsolete-api"
do_install_append () {
rm -rf ${D}${includedir}
rm -rf ${D}${libdir}/pkgconfig
rm -rf ${D}${datadir}
}