mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
udev: convert to virtual package
This patch converts udev to a virtual package. For the moment, there is only one provider for the udev features: eudev. Packages meant to provide udev-like features must select the symbol BR2_PACKAGE_HAS_UDEV. Packages depending on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV or BR2_PACKAGE_UDEV have been converted to use the new symbol. [Peter: move legacy symbols under 2014.05] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
937a95449e
commit
fabcb119b9
@@ -90,17 +90,17 @@ config BR2_INIT_SYSTEMD
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_INET_IPV6
|
||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_SYSTEMD
|
||||
|
||||
comment 'systemd needs udev /dev management and a toolchain w/ largefile, wchar, IPv6, threads'
|
||||
comment 'systemd needs eudev /dev management and a toolchain w/ largefile, wchar, IPv6, threads'
|
||||
depends on BR2_USE_MMU
|
||||
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && \
|
||||
BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS && \
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV)
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV)
|
||||
|
||||
config BR2_INIT_NONE
|
||||
bool "None"
|
||||
@@ -121,22 +121,6 @@ config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
|
||||
bool "Dynamic using mdev"
|
||||
select BR2_PACKAGE_BUSYBOX
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
||||
bool "Dynamic using udev"
|
||||
depends on !BR2_avr32 # udev
|
||||
depends on BR2_LARGEFILE # udev
|
||||
depends on BR2_USE_WCHAR # udev
|
||||
depends on !BR2_PREFER_STATIC_LIB # udev -> kmod
|
||||
select BR2_PACKAGE_UDEV
|
||||
|
||||
comment "udev needs a toolchain w/ largefile, wchar"
|
||||
depends on !BR2_avr32 # udev
|
||||
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
|
||||
|
||||
comment "udev doesn't work with 'prefer static libraries'"
|
||||
depends on !BR2_avr32 # udev
|
||||
depends on BR2_PREFER_STATIC_LIB
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||
bool "Dynamic using eudev"
|
||||
depends on !BR2_avr32 # eudev
|
||||
|
||||
Reference in New Issue
Block a user