diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-19 14:51:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-20 13:14:21 +0100 |
commit | e73e46d740fcf334f5ba7200ae2e9b2c62e95108 (patch) | |
tree | 84b76204cf598776a16d55028872112244d1dcc3 /meta/recipes-core/libxcrypt | |
parent | 9ca072d7075b262defa6feed5c37f5f7470d37b6 (diff) | |
download | poky-e73e46d740fcf334f5ba7200ae2e9b2c62e95108.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/libxcrypt')
-rw-r--r-- | meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.6.bb | 18 |
1 files changed, 18 insertions, 0 deletions
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 0000000000..ebc4648a18 --- /dev/null +++ b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.6.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | # | ||
2 | # This provides libcrypto.so.1 which contains obsolete APIs, needed for uninative in particular | ||
3 | # | ||
4 | |||
5 | require libxcrypt_${PV}.bb | ||
6 | |||
7 | PROVIDES = "" | ||
8 | AUTO_LIBNAME_PKGS = "" | ||
9 | EXCLUDE_FROM_WORLD = "1" | ||
10 | |||
11 | API = "--enable-obsolete-api" | ||
12 | |||
13 | do_install_append () { | ||
14 | rm -rf ${D}${includedir} | ||
15 | rm -rf ${D}${libdir}/pkgconfig | ||
16 | rm -rf ${D}${datadir} | ||
17 | } | ||
18 | |||