Blame view

buildroot/buildroot-2016.08.1/package/drbd-utils/drbd-utils.mk 781 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
  ################################################################################
  #
  # drbd-utils
  #
  ################################################################################
  
  DRBD_UTILS_VERSION = 8.9.4
  DRBD_UTILS_SITE = http://oss.linbit.com/drbd
  DRBD_UTILS_LICENSE = GPLv2+
  DRBD_UTILS_LICENSE_FILES = COPYING
  DRBD_UTILS_DEPENDENCIES = host-flex
  
  DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual
  
  ifeq ($(BR2_INIT_SYSTEMD),y)
  DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd
  DRDB_UTILS_DEPENDENCIES += systemd
  else
  DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
  endif
  
  ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
  DRBD_UTILS_CONF_OPTS += --with-udev=yes
  DRDB_UTILS_DEPENDENCIES += udev
  else
  DRBD_UTILS_CONF_OPTS += --with-udev=no
  endif
  
  $(eval $(autotools-package))