2010-12-05 21:52:44 +01:00
|
|
|
menu "System configuration"
|
2009-09-30 21:53:22 +02:00
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_HOSTNAME
|
|
|
|
string "System hostname"
|
|
|
|
default "buildroot"
|
|
|
|
help
|
|
|
|
Select system hostname to be stored in /etc/hostname.
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_ISSUE
|
|
|
|
string "System banner"
|
|
|
|
default "Welcome to Buildroot"
|
|
|
|
help
|
|
|
|
Select system banner (/etc/issue) to be displayed at login.
|
|
|
|
|
2011-05-12 23:37:35 +02:00
|
|
|
choice
|
|
|
|
prompt "/dev management"
|
|
|
|
default BR2_ROOTFS_DEVICE_CREATION_STATIC
|
|
|
|
|
|
|
|
config BR2_ROOTFS_DEVICE_CREATION_STATIC
|
|
|
|
bool "Static using device table"
|
|
|
|
|
|
|
|
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
|
|
|
|
bool "Dynamic using devtmpfs only"
|
|
|
|
|
|
|
|
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
|
|
|
|
bool "Dynamic using mdev"
|
|
|
|
select BR2_PACKAGE_BUSYBOX
|
|
|
|
|
|
|
|
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
|
|
|
bool "Dynamic using udev"
|
2012-02-08 10:50:25 +01:00
|
|
|
depends on BR2_LARGEFILE # udev
|
|
|
|
depends on BR2_USE_WCHAR # udev
|
2011-05-12 23:37:35 +02:00
|
|
|
select BR2_PACKAGE_UDEV
|
|
|
|
|
2012-02-08 10:50:25 +01:00
|
|
|
comment "udev requires a toolchain with LARGEFILE + WCHAR support"
|
|
|
|
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
|
|
|
|
|
2011-05-12 23:37:35 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_ROOTFS_DEVICE_TABLE
|
2011-07-25 00:09:33 +02:00
|
|
|
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
|
2011-05-12 23:37:35 +02:00
|
|
|
string "Path to the device tables"
|
2011-07-25 00:09:33 +02:00
|
|
|
default "target/generic/device_table_dev.txt"
|
|
|
|
depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
|
2011-05-12 23:37:35 +02:00
|
|
|
help
|
|
|
|
Specify a space-separated list of device table locations,
|
|
|
|
that will be passed to the makedevs utility to create all
|
2011-07-25 00:09:33 +02:00
|
|
|
the special device files under /dev.
|
2011-05-12 23:37:35 +02:00
|
|
|
|
|
|
|
See package/makedevs/README for details on the usage and
|
|
|
|
syntax of these files.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Root FS skeleton"
|
|
|
|
|
|
|
|
config BR2_ROOTFS_SKELETON_DEFAULT
|
|
|
|
bool "default target skeleton"
|
|
|
|
help
|
|
|
|
Use default target skeleton
|
|
|
|
|
|
|
|
config BR2_ROOTFS_SKELETON_CUSTOM
|
|
|
|
bool "custom target skeleton"
|
|
|
|
help
|
|
|
|
Use custom target skeleton.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
if BR2_ROOTFS_SKELETON_CUSTOM
|
|
|
|
config BR2_ROOTFS_SKELETON_CUSTOM_PATH
|
|
|
|
string "custom target skeleton path"
|
|
|
|
default "fs/skeleton"
|
|
|
|
help
|
|
|
|
Path custom target skeleton.
|
|
|
|
endif
|
|
|
|
|
2011-05-12 17:15:36 +02:00
|
|
|
if BR2_ROOTFS_SKELETON_DEFAULT
|
2009-03-20 22:59:43 +01:00
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_PORT
|
2011-05-12 17:15:36 +02:00
|
|
|
string "Port to run a getty (login prompt) on"
|
2010-12-05 21:53:14 +01:00
|
|
|
default "ttyS0"
|
|
|
|
help
|
|
|
|
Specify a port to run a getty (login prompt) on.
|
2009-03-20 22:59:43 +01:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Baudrate to use"
|
|
|
|
default BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
|
|
|
|
help
|
|
|
|
Select a baudrate to use.
|
|
|
|
|
2009-04-15 15:42:12 +02:00
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
|
|
|
bool "keep kernel default"
|
2009-03-20 22:59:43 +01:00
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
|
|
|
|
bool "9600"
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
|
|
|
|
bool "19200"
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
|
|
|
|
bool "38400"
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
|
|
|
|
bool "57600"
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
|
|
|
|
bool "115200"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE
|
|
|
|
string
|
2009-04-15 15:42:12 +02:00
|
|
|
default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
2009-03-20 22:59:43 +01:00
|
|
|
default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
|
|
|
|
default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
|
|
|
|
default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
|
|
|
|
default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
|
|
|
|
default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
|
|
|
|
|
2011-07-03 12:56:03 +02:00
|
|
|
config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
|
|
|
|
bool "remount root filesystem read-write during boot"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The root filesystem is typically mounted read-only at boot.
|
|
|
|
By default, buildroot remounts it in read-write mode early during the
|
|
|
|
boot process.
|
|
|
|
Say no here if you would rather like your root filesystem to remain
|
|
|
|
read-only.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2011-05-12 17:15:36 +02:00
|
|
|
endif # BR2_ROOTFS_SKELETON_DEFAULT
|
2009-09-30 21:53:22 +02:00
|
|
|
|
2011-05-12 23:37:35 +02:00
|
|
|
config BR2_ROOTFS_POST_BUILD_SCRIPT
|
|
|
|
string "Custom script to run before creating filesystem images"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Specify a script to be run after the build has finished and before
|
|
|
|
Buildroot starts packing the files into selected filesystem images.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2010-12-05 21:52:44 +01:00
|
|
|
endmenu
|