From ef3d0426f360696686689541e11aa8f467c43a03 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 9 Aug 2015 11:25:26 +0200 Subject: [PATCH] haveged: for sparc we need generic clockgettime This fixes autobuilder error: http://autobuild.buildroot.net/results/5b8bbc30f347140309ab2f81e1fe50f517356a3e/ As sparcv9 assembly is used, we need to enable generic clock_gettime for sparcv8 systems. Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/haveged/haveged.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/haveged/haveged.mk b/package/haveged/haveged.mk index c68f76633c..66d69a6d7a 100644 --- a/package/haveged/haveged.mk +++ b/package/haveged/haveged.mk @@ -9,6 +9,10 @@ HAVEGED_SITE = http://www.issihosts.com/haveged HAVEGED_LICENSE = GPLv3+ HAVEGED_LICENSE_FILES = COPYING +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +HAVEGED_CONF_OPTS += --enable-clock_gettime=yes +endif + define HAVEGED_INSTALL_INIT_SYSV $(INSTALL) -m 755 -D package/haveged/S21haveged \ $(TARGET_DIR)/etc/init.d/S21haveged -- 2.30.2