1 ################################################################################
5 ################################################################################
8 EUDEV_SOURCE
= eudev-
$(EUDEV_VERSION
).
tar.gz
9 EUDEV_SITE
= http
://dev.gentoo.org
/~blueness
/eudev
10 EUDEV_LICENSE
= GPLv2
+ (programs
), LGPLv2.1
+ (libraries
)
11 EUDEV_LICENSE_FILES
= COPYING
12 EUDEV_INSTALL_STAGING
= YES
14 # mq_getattr is in librt
15 EUDEV_CONF_ENV
+= LIBS
=-lrt
21 --with-firmware-path
=/lib
/firmware \
22 --disable-introspection \
26 EUDEV_DEPENDENCIES
= host-gperf host-pkgconf util-linux kmod
29 ifeq ($(BR2_ROOTFS_MERGED_USR
),)
30 EUDEV_CONF_OPTS
+= --with-rootlibdir
=/lib
--enable-split-usr
33 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN
),y
)
34 EUDEV_CONF_OPTS
+= --enable-rule-generator
36 EUDEV_CONF_OPTS
+= --disable-rule-generator
39 ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB
),y
)
40 EUDEV_CONF_OPTS
+= --enable-hwdb
42 EUDEV_CONF_OPTS
+= --disable-hwdb
45 ifeq ($(BR2_PACKAGE_LIBSELINUX
),y
)
46 EUDEV_CONF_OPTS
+= --enable-selinux
47 EUDEV_DEPENDENCIES
+= libselinux
49 EUDEV_CONF_OPTS
+= --disable-selinux
52 define EUDEV_INSTALL_INIT_SYSV
53 $(INSTALL
) -D
-m
0755 package
/eudev
/S10udev
$(TARGET_DIR
)/etc
/init.d
/S10udev
56 # Required by default rules for input devices
58 - - input
-1 * - - - Input device group
61 $(eval
$(autotools-package
))