2019-10-22 20:17:31 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jitterentropy-library
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-12-23 22:56:07 +01:00
|
|
|
JITTERENTROPY_LIBRARY_VERSION = 3.4.1
|
2021-11-25 08:25:22 +01:00
|
|
|
JITTERENTROPY_LIBRARY_SOURCE = \
|
|
|
|
jitterentropy-library-$(JITTERENTROPY_LIBRARY_VERSION).tar.xz
|
|
|
|
JITTERENTROPY_LIBRARY_SITE = http://www.chronox.de/jent
|
2019-10-22 20:17:31 +02:00
|
|
|
JITTERENTROPY_LIBRARY_LICENSE = GPL-2.0 or BSD-3-Clause
|
2021-11-25 08:25:22 +01:00
|
|
|
JITTERENTROPY_LIBRARY_LICENSE_FILES = LICENSE LICENSE.bsd LICENSE.gplv2
|
2019-10-22 20:17:31 +02:00
|
|
|
JITTERENTROPY_LIBRARY_INSTALL_STAGING = YES
|
2019-10-24 18:59:13 +02:00
|
|
|
JITTERENTROPY_LIBRARY_INSTALL_TARGETS = install-includes
|
2020-12-28 17:11:34 +01:00
|
|
|
JITTERENTROPY_LIBRARY_SELINUX_MODULES = entropyd
|
2019-10-24 18:59:13 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
|
|
JITTERENTROPY_LIBRARY_BUILD_TARGETS += jitterentropy-static
|
|
|
|
JITTERENTROPY_LIBRARY_INSTALL_TARGETS += install-static
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
|
|
JITTERENTROPY_LIBRARY_BUILD_TARGETS += jitterentropy
|
|
|
|
JITTERENTROPY_LIBRARY_INSTALL_TARGETS += install-shared
|
|
|
|
endif
|
|
|
|
|
2019-10-22 20:17:31 +02:00
|
|
|
define JITTERENTROPY_LIBRARY_BUILD_CMDS
|
2019-10-26 01:23:02 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
2021-12-19 16:32:07 +01:00
|
|
|
ENABLE_STACK_PROTECTOR=0 $(JITTERENTROPY_LIBRARY_BUILD_TARGETS)
|
2019-10-22 20:17:31 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define JITTERENTROPY_LIBRARY_INSTALL_STAGING_CMDS
|
2019-10-24 18:59:13 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) \
|
|
|
|
INSTALL_STRIP="install" PREFIX=/usr \
|
|
|
|
$(JITTERENTROPY_LIBRARY_INSTALL_TARGETS)
|
2019-10-22 20:17:31 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define JITTERENTROPY_LIBRARY_INSTALL_TARGET_CMDS
|
2019-10-24 18:59:13 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
|
|
|
|
INSTALL_STRIP="install" PREFIX=/usr \
|
|
|
|
$(JITTERENTROPY_LIBRARY_INSTALL_TARGETS)
|
2019-10-22 20:17:31 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|