Blame view

buildroot/buildroot-2016.08.1/package/libcgroup/libcgroup.mk 1.16 KB
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
30
31
32
33
34
35
36
37
38
39
  ################################################################################
  #
  # libcgroup
  #
  ################################################################################
  
  LIBCGROUP_VERSION = 0.41
  LIBCGROUP_SOURCE = libcgroup-$(LIBCGROUP_VERSION).tar.bz2
  LIBCGROUP_SITE = http://downloads.sourceforge.net/project/libcg/libcgroup/v$(LIBCGROUP_VERSION)
  LIBCGROUP_LICENSE = LGPLv2.1
  LIBCGROUP_LICENSE_FILES = COPYING
  LIBCGROUP_DEPENDENCIES = host-bison host-flex
  LIBCGROUP_INSTALL_STAGING = YES
  
  # Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h
  # large file support. See https://bugzilla.redhat.com/show_bug.cgi?id=574992
  # for more information.
  LIBCGROUP_CONF_ENV = \
  	CXXFLAGS="$(TARGET_CXXFLAGS) -U_FILE_OFFSET_BITS" \
  	CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS"
  
  LIBCGROUP_CONF_OPTS = \
  	--disable-daemon \
  	--disable-initscript-install
  
  ifeq ($(BR2_PACKAGE_LIBCGROUP_TOOLS),y)
  LIBCGROUP_CONF_OPTS += --enable-tools
  else
  LIBCGROUP_CONF_OPTS += --disable-tools
  endif
  
  ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
  LIBCGROUP_DEPENDENCIES += linux-pam
  LIBCGROUP_CONF_OPTS += --enable-pam
  else
  LIBCGROUP_CONF_OPTS += --disable-pam
  endif
  
  $(eval $(autotools-package))