fabcb119b9
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>
21 lines
419 B
Makefile
21 lines
419 B
Makefile
################################################################################
|
|
#
|
|
# udev
|
|
#
|
|
################################################################################
|
|
|
|
UDEV_SOURCE =
|
|
|
|
ifeq ($(BR2_PACKAGE_EUDEV),y)
|
|
UDEV_DEPENDENCIES += eudev
|
|
endif
|
|
|
|
ifeq ($(UDEV_DEPENDENCIES),)
|
|
define UDEV_CONFIGURE_CMDS
|
|
echo "No Udev implementation selected. Configuration error."
|
|
exit 1
|
|
endef
|
|
endif
|
|
|
|
$(eval $(generic-package))
|