aboutsummaryrefslogtreecommitdiff
path: root/fs/Config.in
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-17 03:26:16 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-17 04:36:23 +0200
commit64ec20e6c019e329bf6923fbf330b86b3cfad524 (patch)
tree82c654bd483db0e92dc55537f9bf9aa614a16559 /fs/Config.in
parente5da1b85209d31044af7be529dfd355b836b4fad (diff)
downloadbuildroot-64ec20e6c019e329bf6923fbf330b86b3cfad524.tar.gz
buildroot-64ec20e6c019e329bf6923fbf330b86b3cfad524.tar.bz2
fs: change the way the device table is configured
Until now, the location of the device table was specified by a variable in board Makefiles. Unfortunately, this variable is not accessible from fs/common.mk, since the target/ code is included *after* fs/common.mk. Anyway, the general idea is to move away from these boards Makefile, and provide configuration option for things like the device table location. Therefore, this patch adds a BR2_ROOTFS_DEVICE_TABLE option which allows to specify which device table should be used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'fs/Config.in')
-rw-r--r--fs/Config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/Config.in b/fs/Config.in
index f885c52e7c..6865eeaff7 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -15,6 +15,14 @@ config BR2_ROOTFS_POST_BUILD_SCRIPT
only argument. Make sure the exit code of that script is 0,
otherwise make will stop after calling it.
+config BR2_ROOTFS_DEVICE_TABLE
+ string "Path to the device table"
+ default "target/generic/device_table.txt"
+ help
+ Specify the location of a device table, that will be passed
+ to the makedevs utility to create all the special device
+ files in the target filesystem.
+
source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
source "fs/ext2/Config.in"