64ec20e6c0
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>
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
menu "Target filesystem options"
|
|
|
|
config BR2_ROOTFS_POST_BUILD_SCRIPT
|
|
string "Custom script to run before packing files"
|
|
default ""
|
|
help
|
|
Specify a script to be run after the build has finished and before
|
|
the BR2 starts packing the files into selected packages.
|
|
|
|
This gives users the oportunity to do board-specific cleanups,
|
|
add-ons and the like, so the generated files can be used directly
|
|
without further processing.
|
|
|
|
The script is called with the target directory name as first and
|
|
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"
|
|
source "fs/jffs2/Config.in"
|
|
source "fs/ubifs/Config.in"
|
|
source "fs/squashfs/Config.in"
|
|
source "fs/tar/Config.in"
|
|
source "fs/cpio/Config.in"
|
|
source "fs/iso9660/Config.in"
|
|
source "fs/initramfs/Config.in"
|
|
source "fs/romfs/Config.in"
|
|
|
|
endmenu
|