mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
eudev: add enable/disable hwdb option
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>
This commit is contained in:
parent
c7a0169508
commit
b56265f447
@ -27,6 +27,12 @@ config BR2_PACKAGE_EUDEV_RULES_GEN
|
|||||||
help
|
help
|
||||||
Enable persistent rules generator
|
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
|
endif
|
||||||
|
|
||||||
comment "eudev needs eudev /dev management"
|
comment "eudev needs eudev /dev management"
|
||||||
|
@ -31,6 +31,12 @@ ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
|
|||||||
EUDEV_CONF_OPTS += --enable-rule_generator
|
EUDEV_CONF_OPTS += --enable-rule_generator
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||||
EUDEV_CONF_OPTS += --enable-gudev
|
EUDEV_CONF_OPTS += --enable-gudev
|
||||||
EUDEV_DEPENDENCIES += libglib2
|
EUDEV_DEPENDENCIES += libglib2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user