diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2010-01-19 17:08:43 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-02-11 11:18:05 +0100 |
commit | 5d07c095b111d1a92efe094da95dd0934c19e0b6 (patch) | |
tree | eabdffabc6aa0e4fc9dee0d41e7d22905a880420 /rules/udev.in | |
parent | 806add92b0b978668429845ba5eb9c96b5cd057b (diff) | |
download | ptxdist-5d07c095b111d1a92efe094da95dd0934c19e0b6.tar.gz ptxdist-5d07c095b111d1a92efe094da95dd0934c19e0b6.tar.xz |
[udev] version bump 140 -> 150
Based on a patch from Carsten Schlote <c.schlote@konzeptpark.de>
* Lots of changes in the config options.
* A patch to split "--disable-extras" to avoid unnecessary dependencies
* Patches to work with older toolchains.
* rename UDEV__ -> UDEV_ and add migrate pattern
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/udev.in')
-rw-r--r-- | rules/udev.in | 219 |
1 files changed, 159 insertions, 60 deletions
diff --git a/rules/udev.in b/rules/udev.in index 58db64298..c26977a55 100644 --- a/rules/udev.in +++ b/rules/udev.in @@ -3,6 +3,14 @@ menuconfig UDEV tristate prompt "udev " select ROOTFS_DEV + select HOST_GPERF if UDEV_EXTRA_KEYMAP + select GLIB if UDEV_LIBGUDEV + select GLIB if UDEV_EXTRA_UDEV_ACL + select ACL if UDEV_EXTRA_UDEV_ACL + select USBUTILS if UDEV_EXTRA_USB_DB + select LIBUSB_COMPAT if UDEV_EXTRA_HID2HCI + select LIBUSB_COMPAT if UDEV_EXTRA_MODEM_MODESWITCH + select PCIUTILS if UDEV_EXTRA_PCI_DB help udev provides a dynamic device directory containing only the files for actually present devices. It creates or removes device node files in the @@ -24,7 +32,7 @@ if UDEV menu "build options " - config UDEV__DEBUG + config UDEV_DEBUG bool prompt "enable debug messages" help @@ -32,12 +40,12 @@ menu "build options " into the udev binaries. The actual level of debugging is specified in the udev config file (refer entry "udev_log") - config UDEV__SELINUX + config UDEV_SELINUX bool # not supported yet # prompt "enable selinux support" - config UDEV__SYSLOG + config UDEV_SYSLOG bool prompt "syslog support" help @@ -47,135 +55,226 @@ menu "build options " endmenu -menu "extras " +menu "install options " + + config UDEV_ETC_CONF + bool + default y + prompt "install udev.conf" + help + Installs /etc/udev/udev.conf. If you don't wish to install the + generic udev.conf, just put a copy of your own udev.conf file into + your own projectroot/etc/udev/ + + config UDEV_DEFAULT_RULES + bool + prompt "install default udev rules" + help + This will install the generic udev rules files from the udev package + under /lib/udev/rules.d/, except of rules to automatically load + drivers modules. + + config UDEV_DEFAULT_DRIVERS_RULES + bool + prompt "install default udev driver rules" + help + This will install the generic udev drivers rules files from the udev package + under /lib/udev/rules.d/, + These rules are required to automatically load kernel modules on + udev start. + If unsure say Y. + + config UDEV_DEFAULT_KEYMAPS + bool + prompt "install default keymaps" + help + This will install some of the common keymaps shipped by udev. + + config UDEV_COMMON_RULES + bool + prompt "install common udev rules" + help + This will install some of the common rules shipped by udev, including + rules for sound, isdn, md and device mapper. + + config UDEV_CUST_RULES + bool + prompt "install customized udev rules" + help + This will install the customized udev rules files from + projectroot/lib/udev/rules.d into /lib/udev/rules.d + + config UDEV_LIBUDEV + bool + prompt "install libudev" + help + Install libudev.so on the target. + + config UDEV_LIBGUDEV + bool + prompt "install libgudev" + help + Install libgudev.so on the target. - config UDEV__EXTRA_ATA_ID + config UDEV_STARTSCRIPT + bool + default y + prompt "install /etc/init.d/udev or /etc/init/udev.conf" + help + Install the startup magic for either bbinit or upstart. + Select Y here, as this is what you usually want. + +endmenu + +menuconfig UDEV_EXTRAS + bool "extras " + +if UDEV_EXTRAS + + config UDEV_EXTRA_ATA_ID bool prompt "ata_id" help udev callout to read product/serial number from ATA drives - config UDEV__EXTRA_CDROM_ID + config UDEV_EXTRA_CDROM_ID bool prompt "cdrom_id" help udev callout to determine the capabilities of optical drives and media - config UDEV__EXTRA_COLLECT + config UDEV_EXTRA_COLLECT bool prompt "collect" help Collect variables across events - config UDEV__EXTRA_EDD_ID + config UDEV_EXTRA_EDD_ID bool prompt "edd_id" help - FIXME + Tool to get EDD ID + + config UDEV_EXTRA_FINDKEYBOARDS + bool + prompt "findkeyboards" + help + Tool to find attached keyboards - config UDEV__EXTRA_FIRMWARE + config UDEV_EXTRA_FIRMWARE bool prompt "firmware" help - This is a small helper script to load some kind of firmware on demand + This is a small helper binary to load some kind of firmware on demand - config UDEV__EXTRA_FLOPPY + config UDEV_EXTRA_FLOPPY bool - prompt "floppy" + prompt "create_floppy_devices" help FIXME - config UDEV__EXTRA_FSTAB_IMPORT + config UDEV_EXTRA_FSTAB_IMPORT bool prompt "fstab_import" help Find matching entry in fstab and export it - config UDEV__EXTRA_PATH_ID + config UDEV_EXTRA_HID2HCI bool - prompt "path_id" + prompt "hid2hci" help - udev callout to create a device path based unique name for a device to - implement the Linux Persistent Device Naming scheme + Convert HID to HCI IDs - config UDEV__EXTRA_RULE_GENERATOR + config UDEV_EXTRA_INPUT_ID bool - prompt "rule_generator" + prompt "input_id" help FIXME - config UDEV__EXTRA_SCSI_ID + config UDEV_EXTRA_KEYBOARD_FORCE_RELEASE bool - prompt "scsi_id" + prompt "keyboard-force-release.sh" help - Used to build unique IDs for an SCSI media to identify it again + Keyboard support - config UDEV__EXTRA_USB_ID + config UDEV_EXTRA_KEYMAP bool - prompt "usb_id" + prompt "keymap" help - This is a helper to generate unique information about some kind of - USB device. This is required to ensure the same hotplugged device to - appear always at the same device node (via link) + Keymap support - config UDEV__EXTRA_VOLUME_ID + config UDEV_EXTRA_MODEM_MODESWITCH bool - prompt "volume_id" + prompt "modem-modeswitch" help - FIXME + Option UMTS Modem support -endmenu + config UDEV_EXTRA_PATH_ID + bool + prompt "path_id" + help + udev callout to create a device path based unique name for a device to + implement the Linux Persistent Device Naming scheme -menu "install options " + config UDEV_EXTRA_PCI_DB + bool + prompt "pci-db" + help + Name resolution for PCI IDs - config UDEV__INSTALL_TEST_UDEV + config UDEV_EXTRA_RULE_GENERATOR bool - prompt "install test-udev" + prompt "rule_generator" help FIXME - config UDEV__ETC_CONF + config UDEV_EXTRA_SCSI_ID bool - default y - prompt "install udev.conf" + prompt "scsi_id" help - Installs /etc/udev/udev.conf. If you don't wish to install the - generic udev.conf, just put a copy of your own udev.conf file into - your own projectroot/etc/udev/ + Used to build unique IDs for an SCSI media to identify it again - config UDEV__DEFAULT_RULES + config UDEV_EXTRA_UDEV_ACL bool - prompt "install default udev rules" + prompt "udev-acl" help - This will install the generic udev rules files from the udev package - under /lib/udev/rules.d/ + FIXME - config UDEV__COMMON_RULES + config UDEV_EXTRA_USB_DB bool - prompt "install common udev rules" + prompt "usb-db" help - This will install some of the common rules shipped by udev, including - rules for sound, isdn, md and device mapper. + Name resolution for USB IDs - config UDEV__CUST_RULES + config UDEV_EXTRA_USB_ID bool - prompt "install customized udev rules" + prompt "usb_id" help - This will install the customized udev rules files from - projectroot/lib/udev/rules.d into /lib/udev/rules.d + This is a helper to generate unique information about some kind of + USB device. This is required to ensure the same hotplugged device to + appear always at the same device node (via link) - config UDEV__LIBUDEV + config UDEV_EXTRA_V4L_ID bool - prompt "install libudev" + prompt "v4l_id" help - Install libudev.so on the target. + FIXME - config UDEV_STARTSCRIPT + config UDEV_EXTRA_WRITE_CD_RULES bool - default y - prompt "install /etc/init.d/udev" + prompt "write_cd_rules" + help + This will generate udev-based persistent naming rules for your CD/DVD media - endmenu + config UDEV_EXTRA_WRITE_NET_RULES + bool + prompt "write_net_rules" + help + This will generate udev-based persistent naming rules for your network devices + +endif endif + + |