board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / eudev / eudev.mk
blob2f5bd6cf196945b47703e502f4bfc9ca68215a86
1 ################################################################################
3 # eudev
5 ################################################################################
7 EUDEV_VERSION = 3.2.1
8 EUDEV_SITE = http://dev.gentoo.org/~blueness/eudev
9 EUDEV_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
10 EUDEV_LICENSE_FILES = COPYING
11 EUDEV_INSTALL_STAGING = YES
13 # mq_getattr is in librt
14 EUDEV_CONF_ENV += LIBS=-lrt
16 EUDEV_CONF_OPTS = \
17 --disable-manpages \
18 --sbindir=/sbin \
19 --libexecdir=/lib \
20 --disable-introspection \
21 --enable-kmod \
22 --enable-blkid
24 EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
25 EUDEV_PROVIDES = udev
27 ifeq ($(BR2_ROOTFS_MERGED_USR),)
28 EUDEV_CONF_OPTS += --with-rootlibdir=/lib --enable-split-usr
29 endif
31 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
32 EUDEV_CONF_OPTS += --enable-rule-generator
33 else
34 EUDEV_CONF_OPTS += --disable-rule-generator
35 endif
37 ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y)
38 EUDEV_CONF_OPTS += --enable-hwdb
39 else
40 EUDEV_CONF_OPTS += --disable-hwdb
41 endif
43 ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
44 EUDEV_CONF_OPTS += --enable-selinux
45 EUDEV_DEPENDENCIES += libselinux
46 else
47 EUDEV_CONF_OPTS += --disable-selinux
48 endif
50 define EUDEV_INSTALL_INIT_SYSV
51 $(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
52 endef
54 # Required by default rules for input devices
55 define EUDEV_USERS
56 - - input -1 * - - - Input device group
57 endef
59 $(eval $(autotools-package))