diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-17 11:40:04 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-18 16:19:29 +0000 |
commit | 59be9254df9ffeda594b21af8be433564c898474 (patch) | |
tree | f3a48c874e38b404886a139b862b7b0ecfff94c1 /meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb | |
parent | a62085b5047e7943bdcc9d4ce3480d100618eeb1 (diff) | |
download | openembedded-core-contrib-59be9254df9ffeda594b21af8be433564c898474.tar.gz |
libxcrypt: Upgrade to 4.4.1 release
License-Update: New files added to existing list
Add -Wno-error=missing-attributes to compiler flags, this helps in
compiling with gcc 9.0, eventually, the code should be fixed
Add a patch to fix x32 build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb')
-rw-r--r-- | meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb new file mode 100644 index 0000000000..5e5d7c077c --- /dev/null +++ b/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Extended cryptographic library (from glibc)" +DESCRIPTION = "Forked code from glibc libary to extract only crypto part." +HOMEPAGE = "https://github.com/besser82/libxcrypt" +SECTION = "libs" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM ?= "file://LICENSING;md5=e28ba6195a4e39904919b78a92bcf27e \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +inherit autotools pkgconfig + +# v4.4.1 +SRCREV ?= "b8714d4e9e37cf0d511917bd5eea0e51e4a397d5" +SRCBRANCH ?= "develop" + +SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH} \ + file://0001-Add-x32-specific-inline-asm.patch \ + " + +PROVIDES = "virtual/crypt" + +FILES_${PN} = "${libdir}/libcrypt*.so.* ${libdir}/libcrypt-*.so ${libdir}/libowcrypt*.so.* ${libdir}/libowcrypt-*.so" + +S = "${WORKDIR}/git" + +BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE} -std=gnu99" +TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error=missing-attributes" + +BBCLASSEXTEND = "nativesdk" |