Blame view

buildroot/buildroot-2016.08.1/package/haveged/haveged.mk 909 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  ################################################################################
  #
  # haveged
  #
  ################################################################################
  
  HAVEGED_VERSION = 1.9.1
  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
  endef
  
  define HAVEGED_INSTALL_INIT_SYSTEMD
  	$(INSTALL) -D -m 644 package/haveged/haveged.service \
  		$(TARGET_DIR)/usr/lib/systemd/system/haveged.service
  	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
  	ln -fs /usr/lib/systemd/system/haveged.service \
  		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/haveged.service
  endef
  
  $(eval $(autotools-package))