package/softhsm2: add p11-kit optional dependency
p11-kit is an optional dependency which is enabled by default since the
addition of the package in commit
53873b6dae
and softhsm2 needs help to
properly install files:
/usr/bin/install -c -m 644 softhsm2.module '/home/buildroot/autobuild/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/home/buildroot/autobuild/instance-0/output-1/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/share/p11-kit/modules'
[...]
softhsm2: installs files in /home/buildroot/autobuild/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot//home/buildroot/autobuild/instance-0/output-1
package/pkg-generic.mk:330: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/softhsm2-2.6.1/.stamp_staging_installed' failed
Fixes:
- http://autobuild.buildroot.org/results/a05bb71cfe016f793c89b2a035835718836039c8
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6fab4aeb22
commit
d66f0c0b62
@ -12,4 +12,13 @@ SOFTHSM2_LICENSE_FILES = LICENSE
|
||||
SOFTHSM2_DEPENDENCIES = openssl
|
||||
SOFTHSM2_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
||||
SOFTHSM2_CONF_OPTS += \
|
||||
--enable-p11-kit \
|
||||
--with-p11-kit=/usr/share/p11-kit/modules
|
||||
SOFTHSM2_DEPENDENCIES += p11-kit
|
||||
else
|
||||
SOFTHSM2_CONF_OPTS += --disable-p11-kit
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user