Initial Commit
- initial default booting image
This commit is contained in:
15
package/libp11/Config.in
Normal file
15
package/libp11/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LIBP11
|
||||
bool "libp11"
|
||||
depends on !BR2_STATIC_LIBS # dlopen
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENGINES
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
||||
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, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
7
package/libp11/Config.in.host
Normal file
7
package/libp11/Config.in.host
Normal file
@@ -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
|
||||
4
package/libp11/libp11.hash
Normal file
4
package/libp11/libp11.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://github.com/OpenSC/libp11/releases/tag/libp11-0.4.18
|
||||
sha256 9292de67ca73aba1deacf577c9086b595765f36ef47712cfeb49fa31f6e772fb libp11-0.4.18.tar.gz
|
||||
# Locally computed:
|
||||
sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING
|
||||
27
package/libp11/libp11.mk
Normal file
27
package/libp11/libp11.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# libp11
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBP11_VERSION = 0.4.18
|
||||
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)%%'` \
|
||||
--with-modulesdir=`$(PKG_CONFIG_HOST_BINARY) --variable modulesdir 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