From 71da71d92d57421fb3546986f68e854ae472cf1a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Dec 2015 22:02:03 +0100 Subject: optimize for really small systems Default to busybox hush for noMMU systems. Add busybox profiles to choose a minimal busybox config for noMMU systems. Add gdb git from ysato for h8/300 simulator. Change some kernel defaults to off to have a really small kernel. For bfin simulator the kernel+initramfs is smaller then 2MB in size. --- package/busybox/config/coreutils/Config.in | 167 +++++++++++++++-------------- 1 file changed, 84 insertions(+), 83 deletions(-) (limited to 'package/busybox/config/coreutils') diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in index adc99c1b7..ffd6d0eb1 100644 --- a/package/busybox/config/coreutils/Config.in +++ b/package/busybox/config/coreutils/Config.in @@ -30,7 +30,7 @@ config BUSYBOX_DATE config BUSYBOX_FEATURE_DATE_ISOFMT bool "Enable ISO date format output (-I)" - default y + default n depends on BUSYBOX_DATE help Enable option (-I) to output an ISO-8601 compliant @@ -47,7 +47,7 @@ config BUSYBOX_FEATURE_DATE_NANO config BUSYBOX_FEATURE_DATE_COMPAT bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" - default y + default n depends on BUSYBOX_DATE help System time can be set by 'date -s DATE' and simply 'date DATE', @@ -63,7 +63,7 @@ config BUSYBOX_FEATURE_DATE_COMPAT config BUSYBOX_HOSTID bool "hostid" - default y + default n help hostid prints the numeric identifier (in hexadecimal) for the current host. @@ -76,7 +76,7 @@ config BUSYBOX_ID config BUSYBOX_GROUPS bool "groups" - default y + default n help Print the group names associated with current user id. @@ -110,7 +110,7 @@ config BUSYBOX_TOUCH config BUSYBOX_FEATURE_TOUCH_NODEREF bool "Add support for -h" - default y + default n depends on BUSYBOX_TOUCH help Enable touch to have the -h option. @@ -118,13 +118,14 @@ config BUSYBOX_FEATURE_TOUCH_NODEREF config BUSYBOX_FEATURE_TOUCH_SUSV3 bool "Add support for SUSV3 features (-d -t -r)" - default y + default n depends on BUSYBOX_TOUCH help Enable touch to use a reference file or a given date/time argument. + config BUSYBOX_TR bool "tr" - default y + default n help tr is used to squeeze, and/or delete characters from standard input, writing to standard output. @@ -157,39 +158,39 @@ config BUSYBOX_TRUNCATE config BUSYBOX_UNLINK bool "unlink" - default y + default n help unlink deletes a file by calling unlink() config BUSYBOX_BASE64 bool "base64" - default y + default n help Base64 encode and decode config BUSYBOX_WHO bool "who" - default y + default n depends on BUSYBOX_FEATURE_UTMP help who is used to show who is logged on. config BUSYBOX_USERS bool "users" - default y + default n depends on BUSYBOX_FEATURE_UTMP help Print users currently logged on. config BUSYBOX_CAL bool "cal" - default y + default n help cal is used to display a monthly calender. config BUSYBOX_CATV bool "catv" - default y + default n help Display nonprinting characters as escape sequences (like some implementations' cat -v option). @@ -215,7 +216,7 @@ config BUSYBOX_CHOWN config BUSYBOX_FEATURE_CHOWN_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_CHOWN && BUSYBOX_LONG_OPTS help Enable use of long options @@ -229,13 +230,13 @@ config BUSYBOX_CHROOT config BUSYBOX_CKSUM bool "cksum" - default y + default n help cksum is used to calculate the CRC32 checksum of a file. config BUSYBOX_COMM bool "comm" - default y + default n help comm is used to compare two files line by line and return a three-column output. @@ -248,7 +249,7 @@ config BUSYBOX_CP config BUSYBOX_FEATURE_CP_LONG_OPTIONS bool "Enable long options for cp" - default y + default n depends on BUSYBOX_CP && BUSYBOX_LONG_OPTS help Enable long options for cp. @@ -271,7 +272,7 @@ config BUSYBOX_DD config BUSYBOX_FEATURE_DD_SIGNAL_HANDLING bool "Enable DD signal handling for status reporting" - default y + default n depends on BUSYBOX_DD help Sending a SIGUSR1 signal to a running `dd' process makes it @@ -285,7 +286,7 @@ config BUSYBOX_FEATURE_DD_SIGNAL_HANDLING config BUSYBOX_FEATURE_DD_THIRD_STATUS_LINE bool "Enable the third status line upon signal" - default y + default n depends on BUSYBOX_DD && BUSYBOX_FEATURE_DD_SIGNAL_HANDLING help Displays a coreutils-like third status line with transferred bytes, @@ -315,7 +316,7 @@ config BUSYBOX_DF config BUSYBOX_FEATURE_DF_FANCY bool "Enable -a, -i, -B" - default y + default n depends on BUSYBOX_DF help This option enables -a, -i and -B. @@ -333,14 +334,14 @@ config BUSYBOX_DIRNAME config BUSYBOX_DOS2UNIX bool "dos2unix/unix2dos" - default y + default n help dos2unix is used to convert a text file from DOS format to UNIX format, and vice versa. config BUSYBOX_UNIX2DOS bool - default y + default n depends on BUSYBOX_DOS2UNIX help unix2dos is used to convert a text file from UNIX format to @@ -384,27 +385,27 @@ config BUSYBOX_ENV config BUSYBOX_FEATURE_ENV_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_ENV && BUSYBOX_LONG_OPTS help Support long options for the env applet. config BUSYBOX_EXPAND bool "expand" - default y + default n help By default, convert all tabs to spaces. config BUSYBOX_FEATURE_EXPAND_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_EXPAND && BUSYBOX_LONG_OPTS help Support long options for the expand applet. config BUSYBOX_EXPR bool "expr" - default y + default n help expr is used to calculate numbers and print the result to standard output. @@ -420,19 +421,19 @@ config BUSYBOX_EXPR_MATH_SUPPORT_64 config BUSYBOX_FALSE bool "false" - default y + default n help false returns an exit code of FALSE (1). config BUSYBOX_FOLD bool "fold" - default y + default n help Wrap text to fit a specific width. config BUSYBOX_FSYNC bool "fsync" - default y + default n help fsync is used to flush file-related cached blocks to disk. @@ -445,20 +446,20 @@ config BUSYBOX_HEAD config BUSYBOX_FEATURE_FANCY_HEAD bool "Enable head options (-c, -q, and -v)" - default y + default n depends on BUSYBOX_HEAD help This enables the head options (-c, -q, and -v). config BUSYBOX_INSTALL bool "install" - default y + default n help Copy files and set attributes. config BUSYBOX_FEATURE_INSTALL_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_INSTALL && BUSYBOX_LONG_OPTS help Support long options for the install applet. @@ -477,7 +478,7 @@ config BUSYBOX_LN config BUSYBOX_LOGNAME bool "logname" - default y + default n help logname is used to print the current user's login name. @@ -489,14 +490,14 @@ config BUSYBOX_LS config BUSYBOX_FEATURE_LS_FILETYPES bool "Enable filetyping options (-p and -F)" - default y + default n depends on BUSYBOX_LS help Enable the ls options (-p and -F). config BUSYBOX_FEATURE_LS_FOLLOWLINKS bool "Enable symlinks dereferencing (-L)" - default y + default n depends on BUSYBOX_LS help Enable the ls option (-L). @@ -531,14 +532,14 @@ config BUSYBOX_FEATURE_LS_USERNAME config BUSYBOX_FEATURE_LS_COLOR bool "Allow use of color to identify file types" - default y + default n depends on BUSYBOX_LS && BUSYBOX_LONG_OPTS help This enables the --color option to ls. config BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT bool "Produce colored ls output by default" - default y + default n depends on BUSYBOX_FEATURE_LS_COLOR help Saying yes here will turn coloring on by default, @@ -549,7 +550,7 @@ config BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT config BUSYBOX_MD5SUM bool "md5sum" - default y + default n help md5sum is used to print or check MD5 checksums. @@ -561,21 +562,21 @@ config BUSYBOX_MKDIR config BUSYBOX_FEATURE_MKDIR_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_MKDIR && BUSYBOX_LONG_OPTS help Support long options for the mkdir applet. config BUSYBOX_MKFIFO bool "mkfifo" - default y + default n help mkfifo is used to create FIFOs (named pipes). The `mknod' program can also create FIFOs. config BUSYBOX_MKNOD bool "mknod" - default y + default n help mknod is used to create FIFOs or block/character special files with the specified names. @@ -588,32 +589,32 @@ config BUSYBOX_MV config BUSYBOX_FEATURE_MV_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_MV && BUSYBOX_LONG_OPTS help Support long options for the mv applet. config BUSYBOX_NICE bool "nice" - default y + default n help nice runs a program with modified scheduling priority. config BUSYBOX_NOHUP bool "nohup" - default y + default n help run a command immune to hangups, with output to a non-tty. config BUSYBOX_OD bool "od" - default y + default n help od is used to dump binary files in octal and other formats. config BUSYBOX_PRINTENV bool "printenv" - default y + default n help printenv is used to print all or part of environment. @@ -632,21 +633,21 @@ config BUSYBOX_PWD config BUSYBOX_READLINK bool "readlink" - default y + default n help This program reads a symbolic link and returns the name of the file it points to config BUSYBOX_FEATURE_READLINK_FOLLOW bool "Enable canonicalization by following all symlinks (-f)" - default y + default n depends on BUSYBOX_READLINK help Enable the readlink option (-f). config BUSYBOX_REALPATH bool "realpath" - default y + default n help Return the canonicalized absolute pathname. This isn't provided by GNU shellutils, but where else does it belong. @@ -659,13 +660,13 @@ config BUSYBOX_RM config BUSYBOX_RMDIR bool "rmdir" - default y + default n help rmdir is used to remove empty directories. config BUSYBOX_FEATURE_RMDIR_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_RMDIR && BUSYBOX_LONG_OPTS help Support long options for the rmdir applet, including @@ -673,37 +674,37 @@ config BUSYBOX_FEATURE_RMDIR_LONG_OPTIONS config BUSYBOX_SEQ bool "seq" - default y + default n help print a sequence of numbers config BUSYBOX_SHA1SUM bool "sha1sum" - default y + default n help Compute and check SHA1 message digest config BUSYBOX_SHA256SUM bool "sha256sum" - default y + default n help Compute and check SHA256 message digest config BUSYBOX_SHA512SUM bool "sha512sum" - default y + default n help Compute and check SHA512 message digest config BUSYBOX_SHA3SUM bool "sha3sum" - default y + default n help Compute and check SHA3 (512-bit) message digest config BUSYBOX_SLEEP bool "sleep" - default y + default n help sleep is used to pause for a specified number of seconds. It comes in 3 versions: @@ -717,7 +718,7 @@ config BUSYBOX_SLEEP config BUSYBOX_FEATURE_FANCY_SLEEP bool "Enable multiple arguments and s/m/h/d suffixes" - default y + default n depends on BUSYBOX_SLEEP help Allow sleep to pause for specified minutes, hours, and days. @@ -731,7 +732,7 @@ config BUSYBOX_FEATURE_FLOAT_SLEEP config BUSYBOX_SORT bool "sort" - default y + default n help sort is used to sort lines of text in specified files. @@ -749,13 +750,13 @@ config BUSYBOX_FEATURE_SORT_BIG config BUSYBOX_SPLIT bool "split" - default y + default n help split a file into pieces. config BUSYBOX_FEATURE_SPLIT_FANCY bool "Fancy extensions" - default y + default n depends on BUSYBOX_SPLIT help Add support for features not required by SUSv3. @@ -764,14 +765,14 @@ config BUSYBOX_FEATURE_SPLIT_FANCY config BUSYBOX_STAT bool "stat" - default y + default n select BUSYBOX_PLATFORM_LINUX # statfs() help display file or filesystem status. config BUSYBOX_FEATURE_STAT_FORMAT bool "Enable custom formats (-c)" - default y + default n depends on BUSYBOX_STAT help Without this, stat will not support the '-c format' option where @@ -780,19 +781,19 @@ config BUSYBOX_FEATURE_STAT_FORMAT config BUSYBOX_STTY bool "stty" - default y + default n help stty is used to change and print terminal line settings. config BUSYBOX_SUM bool "sum" - default y + default n help checksum and count the blocks in a file config BUSYBOX_SYNC bool "sync" - default y + default n help sync is used to flush filesystem buffers. @@ -806,20 +807,20 @@ config BUSYBOX_FEATURE_SYNC_FANCY config BUSYBOX_TAC bool "tac" - default y + default n help tac is used to concatenate and print files in reverse. config BUSYBOX_TAIL bool "tail" - default y + default n help tail is used to print the last specified number of lines from files. config BUSYBOX_FEATURE_FANCY_TAIL bool "Enable extra tail options (-q, -s, -v, and -F)" - default y + default n depends on BUSYBOX_TAIL help The options (-q, -s, and -v) are provided by GNU tail, but @@ -831,7 +832,7 @@ config BUSYBOX_FEATURE_FANCY_TAIL config BUSYBOX_TEE bool "tee" - default y + default n help tee is used to read from standard input and write to standard output and files. @@ -845,13 +846,13 @@ config BUSYBOX_FEATURE_TEE_USE_BLOCK_IO config BUSYBOX_TRUE bool "true" - default y + default n help true returns an exit code of TRUE (0). config BUSYBOX_TTY bool "tty" - default y + default n help tty is used to print the name of the current terminal to standard output. @@ -872,65 +873,65 @@ config BUSYBOX_UNAME_OSNAME config BUSYBOX_UNEXPAND bool "unexpand" - default y + default n help By default, convert only leading sequences of blanks to tabs. config BUSYBOX_FEATURE_UNEXPAND_LONG_OPTIONS bool "Enable long options" - default y + default n depends on BUSYBOX_UNEXPAND && BUSYBOX_LONG_OPTS help Support long options for the unexpand applet. config BUSYBOX_UNIQ bool "uniq" - default y + default n help uniq is used to remove duplicate lines from a sorted file. config BUSYBOX_USLEEP bool "usleep" - default y + default n help usleep is used to pause for a specified number of microseconds. config BUSYBOX_UUDECODE bool "uudecode" - default y + default n help uudecode is used to decode a uuencoded file. config BUSYBOX_UUENCODE bool "uuencode" - default y + default n help uuencode is used to uuencode a file. config BUSYBOX_WC bool "wc" - default y + default n help wc is used to print the number of bytes, words, and lines, in specified files. config BUSYBOX_FEATURE_WC_LARGE bool "Support very large files in wc" - default y + default n depends on BUSYBOX_WC help Use "unsigned long long" in wc for counter variables. config BUSYBOX_WHOAMI bool "whoami" - default y + default n help whoami is used to print the username of the current user id (same as id -un). config BUSYBOX_YES bool "yes" - default y + default n help yes is used to repeatedly output a specific string, or the default string `y'. @@ -939,7 +940,7 @@ comment "Common options" config BUSYBOX_FEATURE_VERBOSE bool "Support verbose options (usually -v) for various applets" - default y + default n help Enable cp -v, rm -v and similar messages. Also enables long option (--verbose) if it exists. -- cgit v1.2.3