2010-12-06 04:52:44 +08:00
|
|
|
menu "System configuration"
|
2009-10-01 03:53:22 +08:00
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_HOSTNAME
|
2013-11-12 00:23:23 +08:00
|
|
|
string "System hostname"
|
|
|
|
default "buildroot"
|
|
|
|
help
|
|
|
|
Select system hostname to be stored in /etc/hostname.
|
2009-10-01 03:53:22 +08:00
|
|
|
|
2014-01-08 06:46:07 +08:00
|
|
|
Leave empty to not create /etc/hostname, or to keep the
|
|
|
|
one from a custom skeleton.
|
|
|
|
|
2009-10-01 03:53:22 +08:00
|
|
|
config BR2_TARGET_GENERIC_ISSUE
|
2013-11-12 00:23:23 +08:00
|
|
|
string "System banner"
|
|
|
|
default "Welcome to Buildroot"
|
|
|
|
help
|
|
|
|
Select system banner (/etc/issue) to be displayed at login.
|
2009-10-01 03:53:22 +08:00
|
|
|
|
2014-01-08 06:46:07 +08:00
|
|
|
Leave empty to not create /etc/issue, or to keep the
|
|
|
|
one from a custom skeleton.
|
|
|
|
|
2013-01-05 12:52:03 +08:00
|
|
|
choice
|
|
|
|
bool "Passwords encoding"
|
|
|
|
default BR2_TARGET_GENERIC_PASSWD_MD5
|
|
|
|
help
|
|
|
|
Choose the password encoding scheme to use when Buildroot
|
|
|
|
needs to encode a password (eg. the root password, below).
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:03 +08:00
|
|
|
Note: this is used at build-time, and *not* at runtime.
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_PASSWD_DES
|
|
|
|
bool "des"
|
|
|
|
help
|
|
|
|
Use standard 56-bit DES-based crypt(3) to encode passwords.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:03 +08:00
|
|
|
Old, wildly available, but also the weakest, very susceptible to
|
|
|
|
brute-force attacks.
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_PASSWD_MD5
|
|
|
|
bool "md5"
|
|
|
|
help
|
|
|
|
Use MD5 to encode passwords.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:03 +08:00
|
|
|
The default. Wildly available, and pretty good.
|
|
|
|
Although pretty strong, MD5 is now an old hash function, and
|
|
|
|
suffers from some weaknesses, which makes it susceptible to
|
|
|
|
brute-force attacks.
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_PASSWD_SHA256
|
|
|
|
bool "sha-256"
|
|
|
|
help
|
|
|
|
Use SHA256 to encode passwords.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:03 +08:00
|
|
|
Very strong, but not ubiquitous, although available in glibc
|
|
|
|
for some time now. Choose only if you are sure your C library
|
|
|
|
understands SHA256 passwords.
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_PASSWD_SHA512
|
|
|
|
bool "sha-512"
|
|
|
|
help
|
|
|
|
Use SHA512 to encode passwords.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:03 +08:00
|
|
|
Extremely strong, but not ubiquitous, although available in glibc
|
|
|
|
for some time now. Choose only if you are sure your C library
|
|
|
|
understands SHA512 passwords.
|
|
|
|
|
|
|
|
endchoice # Passwd encoding
|
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_PASSWD_METHOD
|
|
|
|
string
|
|
|
|
default "des" if BR2_TARGET_GENERIC_PASSWD_DES
|
|
|
|
default "md5" if BR2_TARGET_GENERIC_PASSWD_MD5
|
|
|
|
default "sha-256" if BR2_TARGET_GENERIC_PASSWD_SHA256
|
|
|
|
default "sha-512" if BR2_TARGET_GENERIC_PASSWD_SHA512
|
|
|
|
|
2012-07-28 15:21:20 +08:00
|
|
|
choice
|
|
|
|
prompt "Init system"
|
|
|
|
default BR2_INIT_BUSYBOX
|
|
|
|
|
|
|
|
config BR2_INIT_BUSYBOX
|
2014-05-31 15:55:35 +08:00
|
|
|
bool "BusyBox"
|
2012-07-28 15:21:20 +08:00
|
|
|
select BR2_PACKAGE_BUSYBOX
|
|
|
|
|
|
|
|
config BR2_INIT_SYSV
|
|
|
|
bool "systemV"
|
2014-01-14 06:31:20 +08:00
|
|
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
|
2012-07-28 15:21:20 +08:00
|
|
|
select BR2_PACKAGE_SYSVINIT
|
|
|
|
|
|
|
|
config BR2_INIT_SYSTEMD
|
|
|
|
bool "systemd"
|
2014-03-29 00:31:06 +08:00
|
|
|
depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
|
2014-02-07 21:21:34 +08:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2012-07-28 15:21:20 +08:00
|
|
|
depends on BR2_LARGEFILE
|
|
|
|
depends on BR2_USE_WCHAR
|
|
|
|
depends on BR2_INET_IPV6
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-02-07 21:21:34 +08:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SSP
|
2012-11-17 20:24:08 +08:00
|
|
|
depends on BR2_USE_MMU
|
2014-02-07 21:21:34 +08:00
|
|
|
depends on !BR2_PREFER_STATIC_LIB
|
2014-06-13 23:35:57 +08:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
|
2012-07-28 15:21:20 +08:00
|
|
|
select BR2_PACKAGE_SYSTEMD
|
|
|
|
|
2014-06-13 23:35:57 +08:00
|
|
|
comment 'systemd needs an (e)glibc toolchain, headers >= 3.10'
|
2014-03-24 21:09:28 +08:00
|
|
|
depends on !(BR2_TOOLCHAIN_USES_GLIBC \
|
2014-06-13 23:35:57 +08:00
|
|
|
&& BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10)
|
2012-07-28 15:21:20 +08:00
|
|
|
|
2012-08-13 07:53:49 +08:00
|
|
|
config BR2_INIT_NONE
|
|
|
|
bool "None"
|
|
|
|
|
2012-07-28 15:21:20 +08:00
|
|
|
endchoice
|
|
|
|
|
2013-11-06 23:34:34 +08:00
|
|
|
choice
|
2014-02-07 21:21:34 +08:00
|
|
|
prompt "/dev management" if !BR2_INIT_SYSTEMD
|
2013-11-06 23:34:34 +08:00
|
|
|
default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-02-07 21:21:32 +08:00
|
|
|
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
|
|
|
bool "Dynamic using eudev"
|
|
|
|
depends on !BR2_avr32 # eudev
|
|
|
|
depends on BR2_LARGEFILE
|
|
|
|
depends on BR2_USE_WCHAR
|
|
|
|
depends on !BR2_PREFER_STATIC_LIB
|
2014-02-28 21:30:23 +08:00
|
|
|
depends on BR2_USE_MMU # eudev
|
2014-02-07 21:21:32 +08:00
|
|
|
select BR2_PACKAGE_EUDEV
|
2013-11-06 23:34:34 +08:00
|
|
|
|
2014-02-07 21:21:32 +08:00
|
|
|
comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
|
|
|
|
depends on !BR2_avr32 # eudev
|
2014-02-28 21:30:23 +08:00
|
|
|
depends on BR2_USE_MMU
|
2014-02-07 21:21:32 +08:00
|
|
|
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB
|
2013-11-06 23:34:34 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2014-02-07 21:21:34 +08:00
|
|
|
comment "/dev management using udev (from systemd)"
|
|
|
|
depends on BR2_INIT_SYSTEMD
|
|
|
|
|
2011-05-13 05:37:35 +08:00
|
|
|
config BR2_ROOTFS_DEVICE_TABLE
|
2011-07-25 06:09:33 +08:00
|
|
|
string "Path to the permission tables"
|
2012-11-04 20:00:25 +08:00
|
|
|
default "system/device_table.txt"
|
2011-07-25 06:09:33 +08:00
|
|
|
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-13 05:37:35 +08:00
|
|
|
string "Path to the device tables"
|
2012-11-04 20:00:25 +08:00
|
|
|
default "system/device_table_dev.txt"
|
2011-07-25 06:09:33 +08:00
|
|
|
depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
|
2011-05-13 05:37:35 +08: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 06:09:33 +08:00
|
|
|
the special device files under /dev.
|
2011-05-13 05:37:35 +08: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"
|
2012-11-03 16:27:58 +08:00
|
|
|
default "system/skeleton"
|
2011-05-13 05:37:35 +08:00
|
|
|
help
|
2014-05-02 13:08:40 +08:00
|
|
|
Path to custom target skeleton.
|
2011-05-13 05:37:35 +08:00
|
|
|
endif
|
|
|
|
|
2011-05-12 23:15:36 +08:00
|
|
|
if BR2_ROOTFS_SKELETON_DEFAULT
|
2009-03-21 05:59:43 +08:00
|
|
|
|
2013-01-05 12:52:02 +08:00
|
|
|
config BR2_TARGET_GENERIC_ROOT_PASSWD
|
|
|
|
string "Root password"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Set the initial root password (in clear). It will be md5-encrypted.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:02 +08:00
|
|
|
If set to empty (the default), then no root password will be set,
|
|
|
|
and root will need no password to log in.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:02 +08:00
|
|
|
WARNING! WARNING!
|
|
|
|
Although pretty strong, MD5 is now an old hash function, and
|
|
|
|
suffers from some weaknesses, which makes it susceptible to attacks.
|
|
|
|
It is showing its age, so this root password should not be trusted
|
|
|
|
to properly secure any product that can be shipped to the wide,
|
|
|
|
hostile world.
|
2013-04-29 18:29:33 +08:00
|
|
|
|
2013-01-05 12:52:02 +08:00
|
|
|
WARNING! WARNING!
|
|
|
|
The password appears in clear in the .config file, and may appear
|
|
|
|
in the build log! Avoid using a valuable password if either the
|
|
|
|
.config file or the build log may be distributed!
|
|
|
|
|
2014-10-12 21:36:22 +08:00
|
|
|
choice
|
|
|
|
bool "/bin/sh"
|
|
|
|
default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX
|
|
|
|
help
|
|
|
|
Select which shell will provide /bin/sh.
|
|
|
|
|
|
|
|
# busybox has shells that work on noMMU
|
|
|
|
config BR2_SYSTEM_BIN_SH_BUSYBOX
|
|
|
|
bool "busybox' default shell"
|
|
|
|
depends on BR2_PACKAGE_BUSYBOX
|
|
|
|
|
|
|
|
config BR2_SYSTEM_BIN_SH_BASH
|
|
|
|
bool "bash"
|
|
|
|
depends on BR2_USE_MMU # bash
|
|
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|
|
|
select BR2_PACKAGE_BASH
|
|
|
|
|
|
|
|
config BR2_SYSTEM_BIN_SH_DASH
|
|
|
|
bool "dash"
|
|
|
|
depends on BR2_USE_MMU # dash
|
|
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|
|
|
select BR2_PACKAGE_DASH
|
|
|
|
|
|
|
|
config BR2_SYSTEM_BIN_SH_ZSH
|
|
|
|
bool "zsh"
|
|
|
|
depends on BR2_USE_MMU # zsh
|
|
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|
|
|
select BR2_PACKAGE_ZSH
|
|
|
|
|
|
|
|
comment "bash, dash, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
|
|
|
|
depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX
|
|
|
|
|
|
|
|
config BR2_SYSTEM_BIN_SH_NONE
|
|
|
|
bool "none"
|
|
|
|
|
|
|
|
endchoice # /bin/sh
|
|
|
|
|
|
|
|
config BR2_SYSTEM_BIN_SH
|
|
|
|
string
|
|
|
|
default "/bin/busybox" if BR2_SYSTEM_BIN_SH_BUSYBOX
|
|
|
|
default "/bin/bash" if BR2_SYSTEM_BIN_SH_BASH
|
|
|
|
default "/bin/dash" if BR2_SYSTEM_BIN_SH_DASH
|
|
|
|
default "/bin/zsh" if BR2_SYSTEM_BIN_SH_ZSH
|
|
|
|
|
2013-09-15 14:20:48 +08:00
|
|
|
config BR2_TARGET_GENERIC_GETTY
|
2013-11-12 00:23:23 +08:00
|
|
|
bool "Run a getty (login prompt) after boot"
|
|
|
|
default y
|
2013-09-15 14:20:48 +08:00
|
|
|
|
|
|
|
if BR2_TARGET_GENERIC_GETTY
|
|
|
|
menu "getty options"
|
2009-03-21 05:59:43 +08:00
|
|
|
config BR2_TARGET_GENERIC_GETTY_PORT
|
2013-09-15 14:20:48 +08:00
|
|
|
string "TTY port"
|
2010-12-06 04:53:14 +08:00
|
|
|
default "ttyS0"
|
|
|
|
help
|
2013-09-15 14:20:48 +08:00
|
|
|
Specify a port to run a getty on.
|
2009-03-21 05:59:43 +08:00
|
|
|
|
|
|
|
choice
|
2013-09-15 14:20:48 +08:00
|
|
|
prompt "Baudrate"
|
2009-03-21 05:59:43 +08:00
|
|
|
default BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
|
|
|
|
help
|
|
|
|
Select a baudrate to use.
|
|
|
|
|
2009-04-15 21:42:12 +08:00
|
|
|
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
2013-11-12 00:23:23 +08:00
|
|
|
bool "keep kernel default"
|
2009-03-21 05:59:43 +08: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 21:42:12 +08:00
|
|
|
default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
2009-03-21 05:59:43 +08: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
|
|
|
|
|
2012-12-13 08:28:11 +08:00
|
|
|
config BR2_TARGET_GENERIC_GETTY_TERM
|
2013-09-15 14:20:48 +08:00
|
|
|
string "TERM environment variable"
|
2012-12-13 08:28:11 +08:00
|
|
|
default "vt100"
|
|
|
|
help
|
|
|
|
Specify a TERM type.
|
2013-09-15 14:20:49 +08:00
|
|
|
|
|
|
|
config BR2_TARGET_GENERIC_GETTY_OPTIONS
|
|
|
|
string "other options to pass to getty"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Any other flags you want to pass to getty,
|
|
|
|
Refer to getty --help for details.
|
2013-09-15 14:20:48 +08:00
|
|
|
endmenu
|
|
|
|
endif
|
2012-12-13 08:28:11 +08:00
|
|
|
|
2014-07-28 01:24:11 +08: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.
|
|
|
|
|
|
|
|
endif # BR2_ROOTFS_SKELETON_DEFAULT
|
|
|
|
|
2014-04-08 03:58:03 +08:00
|
|
|
config BR2_TARGET_TZ_INFO
|
|
|
|
bool "Install timezone info"
|
2014-04-08 03:58:08 +08:00
|
|
|
# No timezone for musl; only for uClibc or (e)glibc.
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
|
|
|
|
select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
|
2014-04-08 03:58:03 +08:00
|
|
|
help
|
|
|
|
Say 'y' here to install timezone info.
|
|
|
|
|
|
|
|
if BR2_TARGET_TZ_INFO
|
|
|
|
|
|
|
|
config BR2_TARGET_TZ_ZONELIST
|
|
|
|
string "timezone list"
|
|
|
|
default "default"
|
|
|
|
help
|
|
|
|
Space-separated list of time zones to compile.
|
|
|
|
|
|
|
|
The value "default" includes all commonly used time zones. Note
|
2014-04-08 03:58:08 +08:00
|
|
|
that this set consumes around 5.5M for (e)glibc and 2.1M for uClibc.
|
2014-04-08 03:58:03 +08:00
|
|
|
|
|
|
|
The full list is the list of files in the time zone database source,
|
|
|
|
not including the build and .tab files.
|
|
|
|
|
2014-04-08 03:58:04 +08:00
|
|
|
config BR2_TARGET_LOCALTIME
|
|
|
|
string "default local time"
|
|
|
|
help
|
|
|
|
The time zone to install as the default local time, expressed as a
|
|
|
|
tzdata location, such as:
|
|
|
|
GMT
|
|
|
|
Europe/Paris
|
|
|
|
America/New_York
|
|
|
|
Pacific/Wallis
|
|
|
|
...
|
|
|
|
|
|
|
|
If empty, no local time will be set, and the dates will be
|
|
|
|
expressed in UTC.
|
|
|
|
|
2014-04-08 03:58:03 +08:00
|
|
|
endif # BR2_TARGET_TZ_INFO
|
|
|
|
|
2014-04-21 01:33:09 +08:00
|
|
|
config BR2_ROOTFS_USERS_TABLES
|
|
|
|
string "Path to the users tables"
|
|
|
|
help
|
|
|
|
Specify a space-separated list of users table locations,
|
|
|
|
that will be passed to the mkusers utility to create
|
|
|
|
users on the system, with home directory, password, etc.
|
|
|
|
|
|
|
|
See manual for details on the usage and syntax of these files.
|
|
|
|
|
2013-02-05 15:16:00 +08:00
|
|
|
config BR2_ROOTFS_OVERLAY
|
|
|
|
string "Root filesystem overlay directories"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Specify a list of directories that are copied over the target
|
|
|
|
root filesystem after the build has finished and before it is
|
|
|
|
packed into the selected filesystem images.
|
|
|
|
|
|
|
|
They are copied as-is into the rootfs, excluding files ending with
|
|
|
|
~ and .git, .svn and .hg directories.
|
|
|
|
|
2011-05-13 05:37:35 +08:00
|
|
|
config BR2_ROOTFS_POST_BUILD_SCRIPT
|
2013-02-07 19:58:48 +08:00
|
|
|
string "Custom scripts to run before creating filesystem images"
|
2011-05-13 05:37:35 +08:00
|
|
|
default ""
|
|
|
|
help
|
2012-11-17 20:01:22 +08:00
|
|
|
Specify a space-separated list of scripts to be run after the build
|
|
|
|
has finished and before Buildroot starts packing the files into
|
|
|
|
selected filesystem images.
|
2011-05-13 05:37:35 +08:00
|
|
|
|
2014-05-02 06:26:36 +08:00
|
|
|
This gives users the opportunity to do board-specific cleanups,
|
2011-05-13 05:37:35 +08:00
|
|
|
add-ons and the like, so the generated files can be used directly
|
|
|
|
without further processing.
|
|
|
|
|
2013-07-10 06:00:31 +08:00
|
|
|
These scripts are called with the target directory name as first
|
|
|
|
argument. Make sure the exit code of those scripts are 0, otherwise
|
|
|
|
make will stop after calling them.
|
2011-05-13 05:37:35 +08:00
|
|
|
|
2013-02-07 19:58:43 +08:00
|
|
|
config BR2_ROOTFS_POST_IMAGE_SCRIPT
|
|
|
|
string "Custom scripts to run after creating filesystem images"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Specify a space-separated list of scripts to be run after
|
|
|
|
the build has finished and after Buildroot has packed the
|
|
|
|
files into selected filesystem images.
|
|
|
|
|
|
|
|
This can for example be used to call a tool building a
|
|
|
|
firmware image from different images generated by Buildroot,
|
|
|
|
or automatically extract the tarball root filesystem image
|
|
|
|
into some location exported by NFS, or any other custom
|
|
|
|
action.
|
|
|
|
|
|
|
|
These scripts are called with the images directory name as
|
2013-07-10 06:00:31 +08:00
|
|
|
first argument. The script is executed from the main Buildroot
|
|
|
|
source directory as the current directory.
|
|
|
|
|
|
|
|
config BR2_ROOTFS_POST_SCRIPT_ARGS
|
|
|
|
string "Extra post-{build,image} arguments"
|
|
|
|
depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" || BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
|
|
|
|
help
|
2014-05-02 06:26:36 +08:00
|
|
|
Pass these additional arguments to each post-build or post-image
|
2013-07-10 06:00:31 +08:00
|
|
|
scripts.
|
|
|
|
|
|
|
|
Note that all the post-build and post-image scripts will be passed
|
|
|
|
the same set of arguments, you can not pass different arguments to
|
|
|
|
each script.
|
|
|
|
|
|
|
|
Note also, as stated in their respective help text, that the first
|
|
|
|
argument to each post-build or post-image script is the target
|
|
|
|
directory / images directory. The arguments in this option will be
|
|
|
|
passed *after* those.
|
2013-02-07 19:58:43 +08:00
|
|
|
|
2010-12-06 04:52:44 +08:00
|
|
|
endmenu
|