initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBP11
|
||||
bool "libp11"
|
||||
depends on !BR2_STATIC_LIBS # dlopen
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
OpenSSL engine for PKCS#11 modules. Part of the OpenSC
|
||||
project.
|
||||
|
||||
https://github.com/OpenSC/OpenSC/wiki
|
||||
|
||||
comment "libp11 needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_LIBP11
|
||||
bool "host libp11"
|
||||
help
|
||||
OpenSSL engine for PKCS#11 modules. Part of the OpenSC
|
||||
project.
|
||||
|
||||
https://github.com/OpenSC/OpenSC/wiki
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 57d47a12a76fd92664ae30032cf969284ebac1dfc25bf824999d74b016d51366 libp11-0.4.11.tar.gz
|
||||
sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING
|
||||
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# libp11
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBP11_VERSION = 0.4.11
|
||||
LIBP11_SITE = https://github.com/OpenSC/libp11/releases/download/libp11-$(LIBP11_VERSION)
|
||||
LIBP11_DEPENDENCIES = openssl host-pkgconf
|
||||
LIBP11_INSTALL_STAGING = YES
|
||||
LIBP11_LICENSE = LGPL-2.1+
|
||||
LIBP11_LICENSE_FILES = COPYING
|
||||
|
||||
# pkg-config returns a libcrypto enginesdir prefixed with the sysroot,
|
||||
# so let's rip it out.
|
||||
LIBP11_CONF_OPTS = \
|
||||
--with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'`
|
||||
|
||||
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
||||
LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so
|
||||
endif
|
||||
|
||||
HOST_LIBP11_DEPENDENCIES = host-pkgconf host-openssl
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user