2005-03-15 20:16:00 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# udev
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-08-02 10:00:16 +02:00
|
|
|
UDEV_VERSION = 173
|
2011-07-22 16:51:28 +02:00
|
|
|
UDEV_SOURCE = udev-$(UDEV_VERSION).tar.bz2
|
|
|
|
UDEV_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/hotplug/
|
2011-10-25 11:52:11 +02:00
|
|
|
UDEV_INSTALL_STAGING = YES
|
2011-07-22 16:51:28 +02:00
|
|
|
|
|
|
|
UDEV_CONF_OPT = \
|
|
|
|
--sbindir=/sbin \
|
|
|
|
--with-rootlibdir=/lib \
|
|
|
|
--libexecdir=/lib/udev \
|
|
|
|
--disable-introspection
|
|
|
|
|
|
|
|
UDEV_DEPENDENCIES = host-gperf host-pkg-config
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_UDEV_ALL_EXTRAS),y)
|
|
|
|
UDEV_DEPENDENCIES += libusb libusb-compat acl usbutils hwdata libglib2
|
|
|
|
UDEV_CONF_OPT += \
|
|
|
|
--with-pci-ids-path=$(TARGET_DIR)/usr/share/hwdata/pci.ids \
|
2011-08-02 10:00:16 +02:00
|
|
|
--with-usb-ids-path=$(TARGET_DIR)/usr/share/hwdata/usb.ids \
|
|
|
|
--enable-udev_acl
|
2011-07-22 16:51:28 +02:00
|
|
|
else
|
|
|
|
UDEV_CONF_OPT += \
|
|
|
|
--disable-hwdb \
|
|
|
|
--disable-gudev
|
2007-05-07 06:02:31 +02:00
|
|
|
endif
|
|
|
|
|
2011-07-22 16:51:28 +02:00
|
|
|
define UDEV_INSTALL_INITSCRIPT
|
|
|
|
$(INSTALL) -m 0755 package/udev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
|
2009-11-11 23:32:28 +01:00
|
|
|
endef
|
2009-02-13 20:57:59 +01:00
|
|
|
|
2011-07-22 16:51:28 +02:00
|
|
|
UDEV_POST_INSTALL_TARGET_HOOKS += UDEV_INSTALL_INITSCRIPT
|
2009-02-13 20:57:59 +01:00
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|