config.in features patch from Giulio Orsero
No binary (build failed)
—
$ git checkout -f 713121346059feadedf61b0e161173657ade6ea8 Previous HEAD position was 882cbcdfa more config.in entries from Giulio Orsero <[email protected]> with some minor edits by me. HEAD is now at 713121346 config.in features patch from Giulio Orsero <[email protected]> with some minor edits from me $ git clean -fdx Removing .menuconfig.log Removing MCmenu0 Removing MCmenu1 Removing MCmenu2 Removing MCmenu3 Removing MCmenu4 Removing include/config/ Removing scripts/lxdialog/checklist.o Removing scripts/lxdialog/inputbox.o Removing scripts/lxdialog/lxdialog Removing scripts/lxdialog/lxdialog.o Removing scripts/lxdialog/menubox.o Removing scripts/lxdialog/msgbox.o Removing scripts/lxdialog/textbox.o Removing scripts/lxdialog/util.o Removing scripts/lxdialog/yesno.o $ make SHELL=/bin/bash CC=/root/asi_db/compat/cc-wrapper.sh HOSTCC=/root/asi_db/compat/cc-wrapper.sh defconfig make: *** No rule to make target 'defconfig'. Stop. $ make SHELL=/bin/bash CC=/root/asi_db/compat/cc-wrapper.sh HOSTCC=/root/asi_db/compat/cc-wrapper.sh allnoconfig make: *** No rule to make target 'allnoconfig'. Stop. $ make SHELL=/bin/bash CC=/root/asi_db/compat/cc-wrapper.sh HOSTCC=/root/asi_db/compat/cc-wrapper.sh include/bb_config.h make: *** No rule to make target 'include/bb_config.h'. Stop. $ make SHELL=/bin/bash CC=/root/asi_db/compat/cc-wrapper.sh HOSTCC=/root/asi_db/compat/cc-wrapper.sh -j3 V=1 mkdir -p /root/asi_db/builds/busybox/_worktrees/w0/include/config make -C scripts/lxdialog all make[1]: Entering directory '/root/asi_db/builds/busybox/_worktrees/w0/scripts/lxdialog' /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o checklist.o checklist.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o menubox.o menubox.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o textbox.o textbox.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o yesno.o yesno.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o inputbox.o inputbox.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o util.o util.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o lxdialog.o lxdialog.c /root/asi_db/compat/cc-wrapper.sh -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o msgbox.o msgbox.c /root/asi_db/compat/cc-wrapper.sh -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o util.o lxdialog.o msgbox.o -lncurses make[1]: Leaving directory '/root/asi_db/builds/busybox/_worktrees/w0/scripts/lxdialog' /bin/bash scripts/Menuconfig sysdeps/linux/config.in Using defaults found in sysdeps/linux/defconfig Preparing scripts: functions, parsingAwk died with error code 143. Giving up. ....done. Your BusyBox configuration changes were NOT saved. lxtemp.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1 | main() {} | ^~~~ textbox.c: In function ‘dialog_textbox’: textbox.c:42:10: warning: variable ‘search_term’ set but not used [-Wunused-but-set-variable] 42 | char search_term[MAX_LEN + 1]; | ^~~~~~~~~~~ textbox.c: In function ‘print_line’: textbox.c:462:12: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 462 | int y, x; | ^ textbox.c:462:9: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] 462 | int y, x; | ^ inputbox.c: In function ‘dialog_inputbox’: inputbox.c:107:17: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 107 | strcpy (instr, init); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:486, from /usr/include/x86_64-linux-gnu/sys/sysmacros.h:22, from /root/asi_db/compat/compat_stime.h:9, from <command-line>: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ inputbox.c:109:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 109 | input_x = strlen (instr); | ^~~~~ | | | unsigned char * In file included from dialog.h:27, from inputbox.c:22: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from dialog.h:29, from inputbox.c:22: inputbox.c:117:26: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 117 | waddstr (dialog, instr); | ^~~~~ | | | unsigned char * /usr/include/curses.h:830:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ inputbox.c:147:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 147 | input_x = strlen (instr) - scroll; | ^~~~~ | | | unsigned char * In file included from dialog.h:27, from inputbox.c:22: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ lxdialog.c: In function ‘j_inputbox’: lxdialog.c:211:25: warning: pointer targets in passing argument 2 of ‘fprintf’ differ in signedness [-Wpointer-sign] 211 | fprintf(stderr, dialog_input_result); | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:894, from /usr/include/curses.h:232, from dialog.h:29, from lxdialog.c:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:103:60: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lxdialog.c:211:25: warning: format not a string literal and no format arguments [-Wformat-security] 211 | fprintf(stderr, dialog_input_result); | ^~~~~~~~~~~~~~~~~~~ Terminated Error opening terminal: unknown.
| @@ -16,7 +16,8 @@ bool 'gzip' CONFIG_GZIP | |
| bool 'rpm2cpio' CONFIG_RPM2CPIO | |
| bool 'tar' CONFIG_TAR | |
| if [ "$CONFIG_TAR" = "y" ] ; then | |
| - | bool ' creation support' CONFIG_FEATURE_TAR_CREATE |
| - | bool ' exclude support' CONFIG_FEATURE_TAR_EXCLUDE |
| + | bool ' Enable archive creation' CONFIG_FEATURE_TAR_CREATE |
| + | bool ' Enable -X and --exclude options (exclude files)' CONFIG_FEATURE_TAR_EXCLUDE |
| + | bool ' Enable -z option (currently only for extracting)' CONFIG_FEATURE_TAR_GZIP |
| fi | |
| endmenu | |
| @@ -8,5 +8,17 @@ comment 'Editors' | |
| bool 'sed' CONFIG_SED | |
| bool 'vi' CONFIG_VI | |
| + | if [ "$CONFIG_VI" = "y" ]; then |
| + | bool ' Enable ":" colon commands (no "ex" mode)' CONFIG_FEATURE_VI_COLON |
| + | bool ' Enable yank/put commands and mark cmds' CONFIG_FEATURE_VI_YANKMARK |
| + | bool ' Enable search and replace cmds' CONFIG_FEATURE_VI_SEARCH |
| + | bool ' Catch signals' CONFIG_FEATURE_VI_USE_SIGNALS |
| + | bool ' Remember previous cmd and "." cmd' CONFIG_FEATURE_VI_DOT_CMD |
| + | bool ' Enable -R option and "view" mode' CONFIG_FEATURE_VI_READONLY |
| + | bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPT |
| + | bool ' Support for :set' CONFIG_FEATURE_VI_SET |
| + | bool ' Handle window resize' CONFIG_FEATURE_VI_WIN_RESIZE |
| + | bool ' Optimize cursor movement' CONFIG_FEATURE_VI_OPTIMIZE_CURSOR |
| + | fi |
| endmenu | |
| @@ -7,9 +7,15 @@ mainmenu_option next_comment | |
| comment 'Finding Utilities' | |
| bool 'find' CONFIG_FIND | |
| + | if [ "$CONFIG_FIND" = "y" ] ; then |
| + | bool ' Enable modified time matching (-mtime) option' CONFIG_FEATURE_FIND_MTIME |
| + | bool ' Enable permissions matching (-perm) option' CONFIG_FEATURE_FIND_PERM |
| + | bool ' Enable filetype matching (-type) option' CONFIG_FEATURE_FIND_TYPE |
| + | fi |
| bool 'grep' CONFIG_GREP | |
| if [ "$CONFIG_GREP" = "y" ] ; then | |
| - | bool ' egrep alias' CONFIG_FEATURE_GREP_EGREP_ALIAS |
| + | bool ' Support extended regular expressions (egrep & grep -E)' CONFIG_FEATURE_GREP_EGREP_ALIAS |
| + | bool ' Enable before and after context flags (-A, -B and -C)' CONFIG_FEATURE_GREP_CONTEXT |
| fi | |
| bool 'which' CONFIG_WHICH | |
| bool 'xargs' CONFIG_XARGS | |
| @@ -13,9 +13,11 @@ bool 'modprobe' CONFIG_MODPROBE | |
| bool 'rmmod' CONFIG_RMMOD | |
| if [ "$CONFIG_INSMOD" = "y" ]; then | |
| - | bool 'Support insmod/lsmod/rmmod for post 2.1 kernels' CONFIG_FEATURE_NEW_MODULE_INTERFACE |
| - | bool 'Support insmod/lsmod/rmmod for pre 2.1 kernels' CONFIG_FEATURE_OLD_MODULE_INTERFACE |
| + | comment 'Module support options' |
| + | bool 'Support for new (post 2.1) kernels' CONFIG_FEATURE_NEW_MODULE_INTERFACE |
| + | bool 'Support for older (pre 2.1) Linux kernels' CONFIG_FEATURE_OLD_MODULE_INTERFACE |
| bool 'Support module version checking' CONFIG_FEATURE_INSMOD_VERSION_CHECKING | |
| + | bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM |
| fi | |
| endmenu | |
| @@ -9,11 +9,14 @@ comment 'Process Utilities' | |
| bool 'free' CONFIG_FREE | |
| bool 'kill' CONFIG_KILL | |
| bool 'killall' CONFIG_KILLALL | |
| - | if [ "$CONFIG_KILLALL" = "y" ] ; then |
| - | define_bool CONFIG_KILL y |
| + | if [ "$CONFIG_KILLALL" = "y" -a "$CONFIG_KILL" = "n" ] ; then |
| + | define_bool CONFIG_KILL y |
| fi | |
| bool 'pidof' CONFIG_PIDOF | |
| bool 'ps' CONFIG_PS | |
| + | if [ "$CONFIG_PS" = "y" ] ; then |
| + | bool ' Use devps instead of /proc (needs a patched kernel)' CONFIG_FEATURE_USE_DEVPS_PATCH |
| + | fi |
| bool 'renice' CONFIG_RENICE | |
| bool 'uptime' CONFIG_UPTIME | |
| endmenu | |
| @@ -9,20 +9,47 @@ comment 'Linux System Utilities' | |
| bool 'dmesg' CONFIG_DMESG | |
| bool 'fbset' CONFIG_FBSET | |
| + | if [ "$CONFIG_FBSET" = "y" ]; then |
| + | bool ' Turn on extra fbset options' CONFIG_FEATURE_FBSET_FANCY |
| + | bool ' Turn on fbset readmode support' CONFIG_FEATURE_FBSET_READMODE |
| + | fi |
| bool 'fdflush' CONFIG_FDFLUSH | |
| bool 'freeramdisk' CONFIG_FREERAMDISK | |
| bool 'fsck_minix' CONFIG_FSCK_MINIX | |
| + | bool 'mkfs_minix' CONFIG_MKFS_MINIX |
| + | if [ "$CONFIG_FSCK_MINIX" = "y" -o "$CONFIG_MKFS_MINIX" = "y" ]; then |
| + | comment ' Minix filesystem support' |
| + | bool ' Support Minix fs v2 (fsck_minix/mkfs_minix)' CONFIG_FEATURE_MINIX2 |
| + | fi |
| bool 'getopt' CONFIG_GETOPT | |
| bool 'hexdump' CONFIG_HEXDUMP | |
| - | bool 'mkfs_minix' CONFIG_MKFS_MINIX |
| bool 'mkswap' CONFIG_MKSWAP | |
| bool 'more' CONFIG_MORE | |
| + | if [ "$CONFIG_MORE" = "y" ]; then |
| + | bool ' Use termios to manipulate the screen' CONFIG_FEATURE_USE_TERMIOS |
| + | fi |
| + | if [ "$CONFIG_LS" = "y" -o "$CONFIG_MORE" = "y"]; then |
| + | comment ' Common options for ls and more' |
| + | bool ' Calculate terminal & column widths' CONFIG_FEATURE_AUTOWIDTH |
| + | fi |
| bool 'mount' CONFIG_MOUNT | |
| - | bool 'nfsmount' CONFIG_NFSMOUNT |
| + | if [ "$CONFIG_MOUNT" = "y" ]; then |
| + | bool ' Support mounting nfs file systems' CONFIG_NFSMOUNT |
| + | bool ' Use devmtab instead of /proc (needs a patched kernel)' CONFIG_FEATURE_USE_DEVPS_PATCH |
| + | fi |
| + | fi |
| + | bool 'umount' CONFIG_UMOUNT |
| + | if [ "$CONFIG_UMOUNT" = "y" ]; then |
| + | bool ' Support forced filesystem unmounting' CONFIG_FEATURE_MOUNT_FORCE |
| + | fi |
| + | if [ "$CONFIG_MOUNT" = "y" -o "$CONFIG_UMOUNT" = "y" ]; then |
| + | comment 'Common options for mount/umount' |
| + | bool ' Support for loop devices' CONFIG_FEATURE_MOUNT_LOOP |
| + | bool ' Support for a real /etc/mtab (instead of /proc/mounts)' CONFIG_FEATURE_MTAB_SUPPORT |
| + | fi |
| bool 'pivot_root' CONFIG_PIVOT_ROOT | |
| bool 'rdate' CONFIG_RDATE | |
| bool 'swaponoff' CONFIG_SWAPONOFF | |
| - | bool 'umount' CONFIG_UMOUNT |
| endmenu | |