summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-25 00:09:33 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-25 00:09:33 +0200
commit9dc7b73f3bf70740e954a80417b47c4458e7608b (patch)
tree0fd8fb0f0b4979e1a31e8e6b6e5528c3303007d6 /target
parent80eeabc55d3c38d628b43f45545dcb56f5b06bee (diff)
downloadbuildroot-novena-9dc7b73f3bf70740e954a80417b47c4458e7608b.tar.gz
buildroot-novena-9dc7b73f3bf70740e954a80417b47c4458e7608b.zip
System config: split static-dev device table setting into seperate option
As discussed here: http://lists.busybox.net/pipermail/buildroot/2011-May/043251.html Add BR2_ROOTFS_STATIC_DEVICE_TABLE for the extra device table file(s) to create device nodes in /dev, rather than complicated logic in BR2_ROOTFS_DEVICE_TABLE, making it complicated to move between static and dynamic modes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target')
-rw-r--r--target/generic/Config.in23
1 files changed, 15 insertions, 8 deletions
diff --git a/target/generic/Config.in b/target/generic/Config.in
index 7961beccc..a91de3212 100644
--- a/target/generic/Config.in
+++ b/target/generic/Config.in
@@ -33,18 +33,25 @@ config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
endchoice
config BR2_ROOTFS_DEVICE_TABLE
+ string "Path to the permission tables"
+ default "target/generic/device_table.txt"
+ help
+ Specify a space-separated list of permission table locations,
+ that will be passed to the makedevs utility to assign
+ correct owners and permissions on various files in the
+ target filesystem.
+
+ See package/makedevs/README for details on the usage and
+ syntax of these files.
+
+config BR2_ROOTFS_STATIC_DEVICE_TABLE
string "Path to the device tables"
- default "target/generic/device_table.txt target/generic/device_table_dev.txt" \
- if BR2_ROOTFS_DEVICE_CREATION_STATIC
- default "target/generic/device_table.txt" \
- if (BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV || \
- BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
- BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS)
+ default "target/generic/device_table_dev.txt"
+ depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
help
Specify a space-separated list of device table locations,
that will be passed to the makedevs utility to create all
- the special device files and assign correct owners and
- permissions on various files in the target filesystem.
+ the special device files under /dev.
See package/makedevs/README for details on the usage and
syntax of these files.