kumquat-buildroot/package/haveged/haveged.mk
Fabrice Fontaine 2a28d25d0c package/haveged: bump to version 1.9.15
Drop patch (already in version) and so autoreconf

https://github.com/jirka-h/haveged/releases/tag/v1.9.15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-16 19:08:55 +01:00

44 lines
1.1 KiB
Makefile

################################################################################
#
# haveged
#
################################################################################
HAVEGED_VERSION = 1.9.15
HAVEGED_SITE = $(call github,jirka-h,haveged,v$(HAVEGED_VERSION))
HAVEGED_LICENSE = GPL-3.0+
HAVEGED_LICENSE_FILES = COPYING
HAVEGED_SELINUX_MODULES = entropyd
# '--disable-init' as buildroot ships its own sysv/systemd init files
HAVEGED_CONF_OPTS = \
--enable-daemon \
--disable-diagnostic \
--disable-init \
--disable-nistest \
--disable-enttest \
--disable-olt \
--enable-tune
ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
HAVEGED_CONF_OPTS += --enable-clock_gettime
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
HAVEGED_CONF_OPTS += --enable-threads
else
HAVEGED_CONF_OPTS += --disable-threads
endif
define HAVEGED_INSTALL_INIT_SYSV
$(INSTALL) -m 755 -D package/haveged/S21haveged \
$(TARGET_DIR)/etc/init.d/S21haveged
endef
define HAVEGED_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/haveged/haveged.service \
$(TARGET_DIR)/usr/lib/systemd/system/haveged.service
endef
$(eval $(autotools-package))