mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
e569af1ff4
The library's homepage url has changed. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.3 KiB
BlitzBasic
33 lines
1.3 KiB
BlitzBasic
SUMMARY = "Linux Kernel Crypto API User Space Interface Library"
|
|
HOMEPAGE = "https://www.chronox.de/libkcapi/index.html"
|
|
LICENSE = "BSD-3-Clause | GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3d8a091d797491204567185a6efce70f"
|
|
|
|
S = "${WORKDIR}/git"
|
|
SRCREV = "fc937358e71253a6efaa3ba74885364976b040ea"
|
|
SRC_URI = "git://github.com/smuellerDD/libkcapi.git;branch=master;protocol=https \
|
|
"
|
|
|
|
inherit autotools
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[testapp] = "--enable-kcapi-test,,,bash"
|
|
PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,,"
|
|
PACKAGECONFIG[hasher_only] = "--enable-kcapi-hasher --disable-lib-kdf --disable-lib-sym --disable-lib-aead --disable-lib-rng,,,"
|
|
|
|
do_install:append() {
|
|
# bindir contains testapp and apps. However it is always created, even
|
|
# when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
|
|
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
|
|
|
# Remove the generated binary checksum files
|
|
rm -f ${D}${bindir}/.*.hmac
|
|
rm -f ${D}${libdir}/.*.hmac
|
|
}
|
|
|
|
CPPFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare"
|
|
CPPFLAGS:remove:libc-musl:toolchain-clang = "-Wno-error=sign-conversion"
|
|
CPPFLAGS:append:libc-musl = " -Wno-error=sign-conversion"
|
|
|
|
BBCLASSEXTEND = "native"
|