This option enables/disables installation of the eudev hardware database,
which provides various extra properties for known devices.
Enabling this option adds ~5MB to the rootfs size.
The option is enabled by default in order to preserve old behavior.
[Peter: extend commit message]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
help
Enable persistent rules generator
+config BR2_PACKAGE_EUDEV_ENABLE_HWDB
+ bool "enable hwdb installation"
+ default y
+ help
+ Enables hardware database installation to /etc/udev/hwdb.d
+
endif
comment "eudev needs eudev /dev management"
EUDEV_CONF_OPTS += --enable-rule_generator
endif
+ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y)
+EUDEV_CONF_OPTS += --enable-hwdb
+else
+EUDEV_CONF_OPTS += --disable-hwdb
+endif
+
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
EUDEV_CONF_OPTS += --enable-gudev
EUDEV_DEPENDENCIES += libglib2