diff options
-rw-r--r-- | src/bootstrap/include/stage-0-busybox.TARGETS | 357 | ||||
-rw-r--r-- | src/bootstrap/stage-0-busybox.TARGETS | 517 |
2 files changed, 604 insertions, 270 deletions
diff --git a/src/bootstrap/include/stage-0-busybox.TARGETS b/src/bootstrap/include/stage-0-busybox.TARGETS index c465c5a..203acf3 100644 --- a/src/bootstrap/include/stage-0-busybox.TARGETS +++ b/src/bootstrap/include/stage-0-busybox.TARGETS @@ -63,198 +63,245 @@ , "#define CONFIG_PID_FILE_PATH \"\"" , "#define CONFIG_FEATURE_EDITING_MAX_LEN 1024" , "#define CONFIG_SUBST_WCHAR 63" + , "#define CONFIG_UNAME_OSNAME \"GNU/Linux\"" , "" - , "#define ENABLE_DESKTOP 0" - , "#define ENABLE_TAR 1" - , "#define ENABLE_ZCAT 0" - , "#define ENABLE_SELINUX 0" - , "#define ENABLE_KILLALL 0" - , "#define ENABLE_PGREP 0" - , "#define ENABLE_FGREP 0" - , "#define ENABLE_EGREP 0" - , "#define ENABLE_PKILL 0" - , "#define ENABLE_PIDOF 0" - , "#define ENABLE_SESTATUS 0" - , "#define ENABLE_SHA512SUM 0" - , "#define ENABLE_LOCALE_SUPPORT 0" - , "#define ENABLE_LONG_OPTS 0" - , "#define ENABLE_USE_BB_CRYPT_SHA 0" - , "#define ENABLE_ASH_OPTIMIZE_FOR_SIZE 1" - , "#define ENABLE_ASH_MAIL 0" - , "#define ENABLE_ASH_EXPAND_PRMT 1" - , "#define ENABLE_ASH_BASH_COMPAT 1" - , "#define ENABLE_ASH_HELP 1" - , "#define ENABLE_ASH_TEST 1" , "#define ENABLE_ASH_ALIAS 1" - , "#define ENABLE_ASH_JOB_CONTROL 1" + , "#define ENABLE_ASH_BASH_COMPAT 1" + , "#define ENABLE_ASH_BASH_NOT_FOUND_HOOK 1" + , "#define ENABLE_ASH_INTERNAL_GLOB 1" , "#define ENABLE_ASH_CMDCMD 1" - , "#define ENABLE_ASH_ECHO 1" + , "#define ENABLE_ASH_ECHO 0" + , "#define ENABLE_ASH_EXPAND_PRMT 1" , "#define ENABLE_ASH_GETOPTS 1" - , "#define ENABLE_ASH_RANDOM_SUPPORT 1" - , "#define ENABLE_KILLALL 1" - , "#define ENABLE_KILLALL5 1" - , "#define ENABLE_UNICODE_WIDE_WCHARS 0" - , "#define ENABLE_UNICODE_COMBINING_WCHARS 0" - , "#define ENABLE_UNICODE_SUPPORT 1" - , "#define ENABLE_UNICODE_USING_LOCALE 0" - , "#define ENABLE_TEST 1" - , "#define ENABLE_TEST1 1" - , "#define ENABLE_TEST2 1" - , "#define ENABLE_ASH_TEST 1" - , "#define ENABLE_HUSH_TEST 0" - , "#define ENABLE_FEATURE_VERBOSE 0" - , "#define ENABLE_FEATURE_SYSLOG 0" - , "#define ENABLE_FEATURE_CROND_D 0" - , "#define ENABLE_FEATURE_TOPMEM 0" - , "#define ENABLE_FEATURE_TOP_SMP_PROCESS 0" - , "#define ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS 0" - , "#define ENABLE_FEATURE_SHOW_THREADS 0" - , "#define ENABLE_FEATURE_CLEAN_UP 0" - , "#define ENABLE_FEATURE_PRESERVE_HARDLINKS 0" - , "#define ENABLE_FEATURE_NON_POSIX_CP 0" - , "#define ENABLE_FEATURE_USE_SENDFILE 0" - , "#define ENABLE_FEATURE_SKIP_ROOTFS 0" - , "#define ENABLE_FEATURE_MOUNT_LOOP_CREATE 0" - , "#define ENABLE_FEATURE_AWK_LIBM 0" + , "#define ENABLE_ASH_HELP 0" + , "#define ENABLE_ASH_JOB_CONTROL 1" + , "#define ENABLE_ASH_MAIL 0" + , "#define ENABLE_ASH_OPTIMIZE_FOR_SIZE 0" + , "#define ENABLE_ASH_PRINTF 0" + , "#define ENABLE_ASH_RANDOM_SUPPORT 0" + , "#define ENABLE_ASH_SLEEP 0" + , "#define ENABLE_ASH_TEST 0" + , "#define ENABLE_ASH_TEST 0" + , "#define ENABLE_BB_ARCH 1" + , "#define ENABLE_DESKTOP 1" + , "#define ENABLE_EGREP 0" , "#define ENABLE_FEATURE_ALLOW_EXEC 0" - , "#define ENABLE_FEATURE_SEAMLESS_XZ 0" - , "#define ENABLE_FEATURE_SEAMLESS_LZMA 0" - , "#define ENABLE_FEATURE_SEAMLESS_BZ2 0" - , "#define ENABLE_FEATURE_SEAMLESS_GZ 0" - , "#define ENABLE_FEATURE_SEAMLESS_Z 0" - , "#define ENABLE_FEATURE_TAR_CREATE 1" - , "#define ENABLE_FEATURE_TAR_FROM 0" - , "#define ENABLE_FEATURE_TAR_NOPRESERVE_TIME 0" - , "#define ENABLE_FEATURE_TAR_LONG_OPTIONS 0" - , "#define ENABLE_FEATURE_TAR_TO_COMMAND 0" - , "#define ENABLE_FEATURE_TAR_GNU_EXTENSIONS 0" - , "#define ENABLE_FEATURE_TAR_AUTODETECT 0" - , "#define ENABLE_FEATURE_TAR_OLDGNU_COMPATIBILITY 0" - , "#define ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY 0" - , "#define ENABLE_FEATURE_FIND_PATH 0" - , "#define ENABLE_FEATURE_FIND_REGEX 0" - , "#define ENABLE_FEATURE_FIND_PRINT0 0" - , "#define ENABLE_FEATURE_FIND_TYPE 1" - , "#define ENABLE_FEATURE_FIND_EXECUTABLE 0" - , "#define ENABLE_FEATURE_FIND_PERM 0" - , "#define ENABLE_FEATURE_FIND_MTIME 0" - , "#define ENABLE_FEATURE_FIND_CTIME 0" + , "#define ENABLE_FEATURE_AWK_GNU_EXTENSIONS 1" + , "#define ENABLE_FEATURE_AWK_LIBM 0" + , "#define ENABLE_FEATURE_BZIP2_DECOMPRESS 0" + , "#define ENABLE_FEATURE_CATN 0" + , "#define ENABLE_FEATURE_CATV 0" + , "#define ENABLE_FEATURE_CHECK_UNICODE_IN_ENV 0" + , "#define ENABLE_FEATURE_CLEAN_UP 0" + , "#define ENABLE_FEATURE_CROND_D 0" + , "#define ENABLE_FEATURE_DATE_ISOFMT 0" + , "#define ENABLE_FEATURE_EDITING 1" + , "#define ENABLE_FEATURE_EDITING_ASK_TERMINAL 0" + , "#define ENABLE_FEATURE_EDITING_MAX_LEN 1" + , "#define ENABLE_FEATURE_EDITING_VI 0" + , "#define ENABLE_FEATURE_EDITING_WINCH 1" + , "#define ENABLE_FEATURE_FANCY_ECHO 1" + , "#define ENABLE_FEATURE_FANCY_TAIL 1" + , "#define ENABLE_FEATURE_FIND_AMIN 0" , "#define ENABLE_FEATURE_FIND_ATIME 0" - , "#define ENABLE_FEATURE_FIND_MMIN 0" , "#define ENABLE_FEATURE_FIND_CMIN 0" - , "#define ENABLE_FEATURE_FIND_AMIN 0" - , "#define ENABLE_FEATURE_FIND_NEWER 0" - , "#define ENABLE_FEATURE_FIND_INUM 0" - , "#define ENABLE_FEATURE_FIND_SAMEFILE 0" - , "#define ENABLE_FEATURE_FIND_USER 0" - , "#define ENABLE_FEATURE_FIND_SIZE 0" , "#define ENABLE_FEATURE_FIND_CONTEXT 0" - , "#define ENABLE_FEATURE_FIND_PAREN 1" - , "#define ENABLE_FEATURE_FIND_PRUNE 1" - , "#define ENABLE_FEATURE_FIND_QUIT 0" + , "#define ENABLE_FEATURE_FIND_CTIME 0" , "#define ENABLE_FEATURE_FIND_DELETE 0" + , "#define ENABLE_FEATURE_FIND_DEPTH 0" , "#define ENABLE_FEATURE_FIND_EMPTY 0" - , "#define ENABLE_FEATURE_FIND_EXEC 0" - , "#define ENABLE_FEATURE_FIND_EXEC_PLUS 0" + , "#define ENABLE_FEATURE_FIND_EXEC 1" + , "#define ENABLE_FEATURE_FIND_EXEC_PLUS 1" + , "#define ENABLE_FEATURE_FIND_EXECUTABLE 0" , "#define ENABLE_FEATURE_FIND_GROUP 0" + , "#define ENABLE_FEATURE_FIND_INUM 0" , "#define ENABLE_FEATURE_FIND_LINKS 0" - , "#define ENABLE_FEATURE_FIND_NOT 1" - , "#define ENABLE_FEATURE_FIND_DEPTH 0" , "#define ENABLE_FEATURE_FIND_MAXDEPTH 0" + , "#define ENABLE_FEATURE_FIND_MMIN 0" + , "#define ENABLE_FEATURE_FIND_MTIME 0" + , "#define ENABLE_FEATURE_FIND_NEWER 0" + , "#define ENABLE_FEATURE_FIND_NOT 1" + , "#define ENABLE_FEATURE_FIND_PAREN 1" + , "#define ENABLE_FEATURE_FIND_PATH 0" + , "#define ENABLE_FEATURE_FIND_PERM 0" + , "#define ENABLE_FEATURE_FIND_PRINT0 0" + , "#define ENABLE_FEATURE_FIND_PRUNE 1" + , "#define ENABLE_FEATURE_FIND_QUIT 0" + , "#define ENABLE_FEATURE_FIND_REGEX 0" + , "#define ENABLE_FEATURE_FIND_SAMEFILE 0" + , "#define ENABLE_FEATURE_FIND_SIZE 0" + , "#define ENABLE_FEATURE_FIND_TYPE 1" + , "#define ENABLE_FEATURE_FIND_USER 0" , "#define ENABLE_FEATURE_FIND_XDEV 0" - , "#define ENABLE_FEATURE_BZIP2_DECOMPRESS 0" - , "#define ENABLE_FEATURE_SH_READ_FRAC 1" + , "#define ENABLE_FEATURE_HUMAN_READABLE 0" + , "#define ENABLE_FEATURE_LESS_ASK_TERMINAL 1" + , "#define ENABLE_FEATURE_LS_COLOR 0" + , "#define ENABLE_FEATURE_LS_FILETYPES 0" + , "#define ENABLE_FEATURE_LS_FOLLOWLINKS 0" + , "#define ENABLE_FEATURE_LS_RECURSIVE 0" + , "#define ENABLE_FEATURE_LS_SORTFILES 1" + , "#define ENABLE_FEATURE_LS_TIMESTAMPS 1" + , "#define ENABLE_FEATURE_LS_WIDTH 0" + , "#define ENABLE_FEATURE_MOUNT_LOOP_CREATE 0" + , "#define ENABLE_FEATURE_NON_POSIX_CP 0" + , "#define ENABLE_FEATURE_PRESERVE_HARDLINKS 0" + , "#define ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS 0" + , "#define ENABLE_FEATURE_SEAMLESS_BZ2 0" + , "#define ENABLE_FEATURE_SEAMLESS_GZ 0" + , "#define ENABLE_FEATURE_SEAMLESS_LZMA 0" + , "#define ENABLE_FEATURE_SEAMLESS_XZ 0" + , "#define ENABLE_FEATURE_SEAMLESS_Z 0" , "#define ENABLE_FEATURE_SH_MATH 1" + , "#define ENABLE_FEATURE_SHOW_THREADS 0" + , "#define ENABLE_FEATURE_SH_READ_FRAC 0" , "#define ENABLE_FEATURE_SH_STANDALONE 0" - , "#define ENABLE_FEATURE_EDITING 1" + , "#define ENABLE_FEATURE_SKIP_ROOTFS 0" + , "#define ENABLE_FEATURE_SORT_BIG 1" + , "#define ENABLE_FEATURE_SYSLOG 0" , "#define ENABLE_FEATURE_TAB_COMPLETION 0" + , "#define ENABLE_FEATURE_TAR_AUTODETECT 0" + , "#define ENABLE_FEATURE_TAR_CREATE 1" + , "#define ENABLE_FEATURE_TAR_FROM 0" + , "#define ENABLE_FEATURE_TAR_GNU_EXTENSIONS 0" + , "#define ENABLE_FEATURE_TAR_LONG_OPTIONS 0" + , "#define ENABLE_FEATURE_TAR_NOPRESERVE_TIME 0" + , "#define ENABLE_FEATURE_TAR_OLDGNU_COMPATIBILITY 0" + , "#define ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY 0" + , "#define ENABLE_FEATURE_TAR_TO_COMMAND 0" + , "#define ENABLE_FEATURE_TOPMEM 0" + , "#define ENABLE_FEATURE_TOP_SMP_PROCESS 0" + , "#define ENABLE_FEATURE_TOUCH_SUSV3 0" + , "#define ENABLE_FEATURE_TR_CLASSES 0" + , "#define ENABLE_FEATURE_TR_EQUIV 0" , "#define ENABLE_FEATURE_USERNAME_COMPLETION 0" - , "#define ENABLE_FEATURE_EDITING_VI 0" - , "#define ENABLE_FEATURE_EDITING_MAX_LEN 1" - , "#define ENABLE_FEATURE_EDITING_WINCH 1" - , "#define ENABLE_FEATURE_EDITING_ASK_TERMINAL 0" + , "#define ENABLE_FEATURE_USE_SENDFILE 0" + , "#define ENABLE_FEATURE_VERBOSE 0" , "#define ENABLE_FEATURE_VI_ASK_TERMINAL 1" - , "#define ENABLE_FEATURE_LESS_ASK_TERMINAL 1" - , "#define ENABLE_FEATURE_CHECK_UNICODE_IN_ENV 0" + , "#define ENABLE_FGREP 0" + , "#define ENABLE_FTPD 0" + , "#define ENABLE_HUSH_PRINTF 0" + , "#define ENABLE_HUSH_TEST 0" + , "#define ENABLE_KILL 1" + , "#define ENABLE_KILLALL 1" + , "#define ENABLE_KILLALL5 1" + , "#define ENABLE_LOCALE_SUPPORT 0" + , "#define ENABLE_LONG_OPTS 1" + , "#define ENABLE_PGREP 0" + , "#define ENABLE_PIDOF 0" + , "#define ENABLE_PKILL 0" + , "#define ENABLE_SELINUX 0" + , "#define ENABLE_SESTATUS 0" + , "#define ENABLE_SHA512SUM 0" + , "#define ENABLE_TAR 1" + , "#define ENABLE_TEST 1" + , "#define ENABLE_TEST1 1" + , "#define ENABLE_TEST2 1" + , "#define ENABLE_UNAME 1" + , "#define ENABLE_UNICODE_COMBINING_WCHARS 0" + , "#define ENABLE_UNICODE_SUPPORT 1" + , "#define ENABLE_UNICODE_USING_LOCALE 0" + , "#define ENABLE_UNICODE_WIDE_WCHARS 0" + , "#define ENABLE_USE_BB_CRYPT_SHA 0" + , "#define ENABLE_ZCAT 0" , "" - , "#define IF_DESKTOP(...)" - , "#define IF_NOT_DESKTOP(...) __VA_ARGS__" - , "#define IF_SHELL_ASH(...) __VA_ARGS__" - , "#define IF_SHELL_HUSH(...)" - , "#define IF_ECHO(...)" - , "#define IF_SLEEP(...)" - , "#define IF_PRINTF(...)" + , "#define IF_ASH_BASH_COMPAT(...) __VA_ARGS__" + , "#define IF_ASH_EXPAND_PRMT(...) __VA_ARGS__" + , "#define IF_ASH_HELP(...)" , "#define IF_CHOWN(...)" - , "#define IF_LS(...)" - , "#define IF_SELINUX(...)" + , "#define IF_DESKTOP(...) __VA_ARGS__" + , "#define IF_ECHO(...)" , "#define IF_EXTRA_COMPAT(...)" - , "#define IF_NOT_ASH_OPTIMIZE_FOR_SIZE(...)" - , "#define IF_ASH_EXPAND_PRMT(...) __VA_ARGS__" - , "#define IF_ASH_BASH_COMPAT(...) __VA_ARGS__" - , "#define IF_ASH_HELP(...) __VA_ARGS__" - , "#define IF_UNICODE_WIDE_WCHARS(...)" - , "#define IF_FEATURE_SHOW_THREADS(...)" + , "#define IF_FEATURE_AWK_GNU_EXTENSIONS(...) __VA_ARGS__" + , "#define IF_FEATURE_BZIP2_DECOMPRESS(...)" + , "#define IF_FEATURE_CATN(...)" + , "#define IF_FEATURE_CATV(...)" , "#define IF_FEATURE_CP_REFLINK(...)" - , "#define IF_FEATURE_SHADOWPASSWDS(...)" - , "#define IF_FEATURE_MTAB_SUPPORT(...)" - , "#define IF_FEATURE_SKIP_ROOTFS(...)" - , "#define IF_FEATURE_MOUNT_LOOP_CREATE(...)" - , "#define IF_FEATURE_TIMEZONE(...)" - , "#define IF_FEATURE_AWK_GNU_EXTENSIONS(...)" - , "#define IF_FEATURE_GREP_CONTEXT(...)" - , "#define IF_FEATURE_SEAMLESS_XZ(...)" - , "#define IF_FEATURE_SEAMLESS_LZMA(...)" - , "#define IF_FEATURE_SEAMLESS_BZ2(...)" - , "#define IF_FEATURE_SEAMLESS_GZ(...)" - , "#define IF_FEATURE_SEAMLESS_Z(...)" - , "#define IF_FEATURE_TAR_CREATE(...) __VA_ARGS__" - , "#define IF_FEATURE_TAR_FROM(...)" - , "#define IF_FEATURE_TAR_NOPRESERVE_TIME(...)" - , "#define IF_FEATURE_TAR_LONG_OPTIONS(...)" - , "#define IF_FEATURE_TAR_TO_COMMAND(...)" - , "#define IF_NOT_FEATURE_TAR_CREATE(...)" - , "#define IF_FEATURE_TAR_OLDGNU_COMPATIBILITY(...)" - , "#define IF_FEATURE_TAR_OLDSUN_COMPATIBILITY(...)" - , "#define IF_FEATURE_FIND_PATH(...)" - , "#define IF_FEATURE_FIND_REGEX(...)" - , "#define IF_FEATURE_FIND_PRINT0(...)" - , "#define IF_FEATURE_FIND_TYPE(...) __VA_ARGS__" - , "#define IF_FEATURE_FIND_EXECUTABLE(...)" - , "#define IF_FEATURE_FIND_PERM(...)" - , "#define IF_FEATURE_FIND_MTIME(...)" - , "#define IF_FEATURE_FIND_CTIME(...)" + , "#define IF_FEATURE_DATE_ISOFMT(...)" + , "#define IF_FEATURE_EDITING_VI(...)" + , "#define IF_FEATURE_EDITING_WINCH(...) __VA_ARGS__" + , "#define IF_FEATURE_FANCY_TAIL(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_AMIN(...)" , "#define IF_FEATURE_FIND_ATIME(...)" - , "#define IF_FEATURE_FIND_MMIN(...)" , "#define IF_FEATURE_FIND_CMIN(...)" - , "#define IF_FEATURE_FIND_AMIN(...)" - , "#define IF_FEATURE_FIND_NEWER(...)" - , "#define IF_FEATURE_FIND_INUM(...)" - , "#define IF_FEATURE_FIND_SAMEFILE(...)" - , "#define IF_FEATURE_FIND_USER(...)" - , "#define IF_FEATURE_FIND_SIZE(...)" , "#define IF_FEATURE_FIND_CONTEXT(...)" - , "#define IF_FEATURE_FIND_PAREN(...) __VA_ARGS__" - , "#define IF_FEATURE_FIND_PRUNE(...) __VA_ARGS__" - , "#define IF_FEATURE_FIND_QUIT(...)" + , "#define IF_FEATURE_FIND_CTIME(...)" , "#define IF_FEATURE_FIND_DELETE(...)" + , "#define IF_FEATURE_FIND_DEPTH(...)" , "#define IF_FEATURE_FIND_EMPTY(...)" - , "#define IF_FEATURE_FIND_EXEC(...)" - , "#define IF_FEATURE_FIND_EXEC_PLUS(...)" + , "#define IF_FEATURE_FIND_EXEC(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_EXEC_PLUS(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_EXECUTABLE(...)" , "#define IF_FEATURE_FIND_GROUP(...)" + , "#define IF_FEATURE_FIND_INUM(...)" , "#define IF_FEATURE_FIND_LINKS(...)" - , "#define IF_FEATURE_FIND_NOT(...) __VA_ARGS__" - , "#define IF_FEATURE_FIND_DEPTH(...)" , "#define IF_FEATURE_FIND_MAXDEPTH(...)" - , "#define IF_NOT_FEATURE_FIND_MAXDEPTH(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_MMIN(...)" + , "#define IF_FEATURE_FIND_MTIME(...)" + , "#define IF_FEATURE_FIND_NEWER(...)" + , "#define IF_FEATURE_FIND_NOT(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_PAREN(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_PATH(...)" + , "#define IF_FEATURE_FIND_PERM(...)" + , "#define IF_FEATURE_FIND_PRINT0(...)" + , "#define IF_FEATURE_FIND_PRUNE(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_QUIT(...)" + , "#define IF_FEATURE_FIND_REGEX(...)" + , "#define IF_FEATURE_FIND_SAMEFILE(...)" + , "#define IF_FEATURE_FIND_SIZE(...)" + , "#define IF_FEATURE_FIND_TYPE(...) __VA_ARGS__" + , "#define IF_FEATURE_FIND_USER(...)" , "#define IF_FEATURE_FIND_XDEV(...)" - , "#define IF_FEATURE_BZIP2_DECOMPRESS(...)" + , "#define IF_FEATURE_GREP_CONTEXT(...)" + , "#define IF_FEATURE_HUMAN_READABLE(...)" + , "#define IF_FEATURE_INSTALL_LONG_OPTIONS(...) __VA_ARGS__" + , "#define IF_FEATURE_LS_COLOR(...)" + , "#define IF_FEATURE_LS_FILETYPES(...)" + , "#define IF_FEATURE_LS_FOLLOWLINKS(...)" + , "#define IF_FEATURE_LS_RECURSIVE(...)" + , "#define IF_FEATURE_LS_SORTFILES(...) __VA_ARGS__" + , "#define IF_FEATURE_LS_TIMESTAMPS(...) __VA_ARGS__" + , "#define IF_FEATURE_LS_WIDTH(...)" + , "#define IF_FEATURE_MOUNT_LOOP_CREATE(...)" + , "#define IF_FEATURE_MTAB_SUPPORT(...)" + , "#define IF_FEATURE_SEAMLESS_BZ2(...)" + , "#define IF_FEATURE_SEAMLESS_GZ(...)" + , "#define IF_FEATURE_SEAMLESS_LZMA(...)" + , "#define IF_FEATURE_SEAMLESS_XZ(...)" + , "#define IF_FEATURE_SEAMLESS_Z(...)" + , "#define IF_FEATURE_SHADOWPASSWDS(...)" , "#define IF_FEATURE_SH_MATH(...) __VA_ARGS__" + , "#define IF_FEATURE_SHOW_THREADS(...)" , "#define IF_FEATURE_SH_STANDALONE(...)" - , "#define IF_FEATURE_EDITING_VI(...)" - , "#define IF_FEATURE_EDITING_WINCH(...) __VA_ARGS__" + , "#define IF_FEATURE_SKIP_ROOTFS(...)" + , "#define IF_FEATURE_TAR_AUTODETECT(...)" + , "#define IF_FEATURE_TAR_CREATE(...) __VA_ARGS__" + , "#define IF_FEATURE_TAR_FROM(...)" + , "#define IF_FEATURE_TAR_LONG_OPTIONS(...)" + , "#define IF_FEATURE_TAR_NOPRESERVE_TIME(...)" + , "#define IF_FEATURE_TAR_OLDGNU_COMPATIBILITY(...)" + , "#define IF_FEATURE_TAR_OLDSUN_COMPATIBILITY(...)" + , "#define IF_FEATURE_TAR_TO_COMMAND(...)" + , "#define IF_FEATURE_TIMEZONE(...)" + , "#define IF_FEATURE_TOUCH_SUSV3(...)" + , "#define IF_FEATURE_VERBOSE(...)" + , "#define IF_LONG_OPTS(...) __VA_ARGS__" + , "#define IF_LS(...)" + , "#define IF_NOT_ASH_OPTIMIZE_FOR_SIZE(...) __VA_ARGS__" + , "#define IF_NOT_DESKTOP(...)" + , "#define IF_NOT_FEATURE_FIND_MAXDEPTH(...) __VA_ARGS__" + , "#define IF_NOT_FEATURE_TAR_CREATE(...)" + , "#define IF_NOT_FEATURE_TOUCH_SUSV3(...) __VA_ARGS__" + , "#define IF_PRINTF(...) __VA_ARGS__" + , "#define IF_SELINUX(...)" + , "#define IF_SHELL_ASH(...) __VA_ARGS__" + , "#define IF_SHELL_HUSH(...)" + , "#define IF_SLEEP(...)" + , "#define IF_UNAME(...) __VA_ARGS__" + , "#define IF_UNICODE_WIDE_WCHARS(...)" , "" , "/* missing declarations */" , "char *strchrnul(const char *s, int c);" + , "#include <getopt.h>" , "" , "/* include original libbb.h */" , "#include \"original/libbb.h\"" diff --git a/src/bootstrap/stage-0-busybox.TARGETS b/src/bootstrap/stage-0-busybox.TARGETS index 9778b2f..7562eca 100644 --- a/src/bootstrap/stage-0-busybox.TARGETS +++ b/src/bootstrap/stage-0-busybox.TARGETS @@ -1,16 +1,48 @@ { "bootstrap": { "type": "install" , "files": - { "bin/awk": "bootstrap-awk" + { "bin/[": "bootstrap-test" + , "bin/awk": "bootstrap-awk" + , "bin/basename": "bootstrap-basename" + , "bin/bzip2": "bootstrap-bzip2" + , "bin/cat": "bootstrap-cat" + , "bin/chmod": "bootstrap-chmod" , "bin/cmp": "bootstrap-cmp" - , "bin/sed": "bootstrap-sed" + , "bin/cp": "bootstrap-cp" + , "bin/date": "bootstrap-date" , "bin/diff": "bootstrap-diff" - , "bin/patch": "bootstrap-patch" - , "bin/tar": "bootstrap-tar" - , "bin/bzip2": "bootstrap-bzip2" - , "bin/grep": "bootstrap-grep" + , "bin/dirname": "bootstrap-dirname" + , "bin/echo": "bootstrap-echo" + , "bin/env": "bootstrap-env" + , "bin/expr": "bootstrap-expr" + , "bin/false": "bootstrap-false" , "bin/find": "bootstrap-find" + , "bin/grep": "bootstrap-grep" + , "bin/install": "bootstrap-install" + , "bin/ln": "bootstrap-ln" + , "bin/ls": "bootstrap-ls" + , "bin/mkdir": "bootstrap-mkdir" + , "bin/mktemp": "bootstrap-mktemp" + , "bin/mv": "bootstrap-mv" + , "bin/patch": "bootstrap-patch" + , "bin/printf": "bootstrap-printf" + , "bin/pwd": "bootstrap-pwd" + , "bin/rm": "bootstrap-rm" + , "bin/rmdir": "bootstrap-rmdir" + , "bin/sed": "bootstrap-sed" , "bin/sh": "bootstrap-ash" + , "bin/sleep": "bootstrap-sleep" + , "bin/sort": "bootstrap-sort" + , "bin/tail": "bootstrap-tail" + , "bin/tar": "bootstrap-tar" + , "bin/test": "bootstrap-test" + , "bin/touch": "bootstrap-touch" + , "bin/tr": "bootstrap-tr" + , "bin/true": "bootstrap-true" + , "bin/od": "bootstrap-od" + , "bin/uname": "bootstrap-uname" + , "bin/uniq": "bootstrap-uniq" + , "bin/wc": "bootstrap-wc" } } , "toolchain": @@ -19,22 +51,58 @@ , "target": "busybox" } , "files": {"type": "install", "deps": [["TREE", null, "."]]} +, "bootstrap-ash": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "shell", "APPLET_NAME": "ash"} + , "target": "configured-applet" + } , "bootstrap-awk": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] , "fixed_config": {"APPLET_GROUP": "editors", "APPLET_NAME": "awk"} , "target": "configured-applet" } +, "bootstrap-basename": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "basename"} + , "target": "configured-applet" + } +, "bootstrap-bzip2": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "archival", "APPLET_NAME": "bzip2"} + , "target": "configured-applet" + } +, "bootstrap-cat": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "cat"} + , "target": "configured-applet" + } +, "bootstrap-chmod": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "chmod"} + , "target": "configured-applet" + } , "bootstrap-cmp": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] , "fixed_config": {"APPLET_GROUP": "editors", "APPLET_NAME": "cmp"} , "target": "configured-applet" } -, "bootstrap-sed": +, "bootstrap-cp": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] - , "fixed_config": {"APPLET_GROUP": "editors", "APPLET_NAME": "sed"} + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "cp"} + , "target": "configured-applet" + } +, "bootstrap-date": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "date"} , "target": "configured-applet" } , "bootstrap-diff": @@ -43,40 +111,190 @@ , "fixed_config": {"APPLET_GROUP": "editors", "APPLET_NAME": "diff"} , "target": "configured-applet" } +, "bootstrap-dirname": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "dirname"} + , "target": "configured-applet" + } +, "bootstrap-echo": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "echo"} + , "target": "configured-applet" + } +, "bootstrap-env": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "env"} + , "target": "configured-applet" + } +, "bootstrap-expr": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "expr"} + , "target": "configured-applet" + } +, "bootstrap-false": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "false"} + , "target": "configured-applet" + } +, "bootstrap-find": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "findutils", "APPLET_NAME": "find"} + , "target": "configured-applet" + } +, "bootstrap-grep": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "findutils", "APPLET_NAME": "grep"} + , "target": "configured-applet" + } +, "bootstrap-ls": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "ls"} + , "target": "configured-applet" + } +, "bootstrap-install": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "install"} + , "target": "configured-applet" + } +, "bootstrap-ln": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "ln"} + , "target": "configured-applet" + } +, "bootstrap-mkdir": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "mkdir"} + , "target": "configured-applet" + } +, "bootstrap-mktemp": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "mktemp"} + , "target": "configured-applet" + } +, "bootstrap-mv": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "mv"} + , "target": "configured-applet" + } , "bootstrap-patch": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] , "fixed_config": {"APPLET_GROUP": "editors", "APPLET_NAME": "patch"} , "target": "configured-applet" } +, "bootstrap-printf": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "printf"} + , "target": "configured-applet" + } +, "bootstrap-pwd": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "pwd"} + , "target": "configured-applet" + } +, "bootstrap-rm": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "rm"} + , "target": "configured-applet" + } +, "bootstrap-rmdir": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "rmdir"} + , "target": "configured-applet" + } +, "bootstrap-sed": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "editors", "APPLET_NAME": "sed"} + , "target": "configured-applet" + } +, "bootstrap-sleep": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "sleep"} + , "target": "configured-applet" + } +, "bootstrap-sort": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "sort"} + , "target": "configured-applet" + } +, "bootstrap-tail": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "tail"} + , "target": "configured-applet" + } , "bootstrap-tar": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] , "fixed_config": {"APPLET_GROUP": "archival", "APPLET_NAME": "tar"} , "target": "configured-applet" } -, "bootstrap-bzip2": +, "bootstrap-test": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] - , "fixed_config": {"APPLET_GROUP": "archival", "APPLET_NAME": "bzip2"} + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "test"} , "target": "configured-applet" } -, "bootstrap-grep": +, "bootstrap-true": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] - , "fixed_config": {"APPLET_GROUP": "findutils", "APPLET_NAME": "grep"} + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "true"} , "target": "configured-applet" } -, "bootstrap-find": +, "bootstrap-tr": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] - , "fixed_config": {"APPLET_GROUP": "findutils", "APPLET_NAME": "find"} + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "tr"} , "target": "configured-applet" } -, "bootstrap-ash": +, "bootstrap-od": { "type": "export" , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] - , "fixed_config": {"APPLET_GROUP": "shell", "APPLET_NAME": "ash"} + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "od"} + , "target": "configured-applet" + } +, "bootstrap-touch": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "touch"} + , "target": "configured-applet" + } +, "bootstrap-uname": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "uname"} + , "target": "configured-applet" + } +, "bootstrap-uniq": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "uniq"} + , "target": "configured-applet" + } +, "bootstrap-wc": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "fixed_config": {"APPLET_GROUP": "coreutils", "APPLET_NAME": "wc"} , "target": "configured-applet" } , "configured-applet": @@ -111,119 +329,188 @@ { "type": "install" , "deps": [ ["./", "include", "bootstrap-headers"] - , "libbb/xatonum_template.c" - , "editors/awk.c" - , "editors/cmp.c" - , "editors/sed.c" - , "editors/diff.c" - , "editors/patch.c" - , "archival/tar.c" , "archival/bzip2.c" - , "archival/libarchive/bz/bzlib.h" - , "archival/libarchive/bz/bzlib_private.h" , "archival/libarchive/bz/blocksort.c" , "archival/libarchive/bz/bzlib.c" + , "archival/libarchive/bz/bzlib.h" + , "archival/libarchive/bz/bzlib_private.h" , "archival/libarchive/bz/compress.c" , "archival/libarchive/bz/huffman.c" - , "findutils/grep.c" + , "archival/tar.c" + , "coreutils/basename.c" + , "coreutils/cat.c" + , "coreutils/chmod.c" + , "coreutils/cp.c" + , "coreutils/date.c" + , "coreutils/dirname.c" + , "coreutils/echo.c" + , "coreutils/env.c" + , "coreutils/expr.c" + , "coreutils/false.c" + , "coreutils/install.c" + , "coreutils/libcoreutils/coreutils.h" + , "coreutils/ln.c" + , "coreutils/ls.c" + , "coreutils/mkdir.c" + , "coreutils/mktemp.c" + , "coreutils/mv.c" + , "coreutils/printf.c" + , "coreutils/pwd.c" + , "coreutils/rm.c" + , "coreutils/rmdir.c" + , "coreutils/sleep.c" + , "coreutils/sort.c" + , "coreutils/tail.c" + , "coreutils/test.c" + , "coreutils/touch.c" + , "coreutils/tail.c" + , "coreutils/tr.c" + , "coreutils/true.c" + , "coreutils/od.c" + , "coreutils/od_bloaty.c" + , "coreutils/uname.c" + , "coreutils/uniq.c" + , "coreutils/wc.c" + , "editors/awk.c" + , "editors/cmp.c" + , "editors/diff.c" + , "editors/patch.c" + , "editors/sed.c" , "findutils/find.c" + , "findutils/grep.c" + , "libbb/xatonum_template.c" , "shell/ash.c" - , "shell/shell_common.h" , "shell/math.h" , "shell/random.h" + , "shell/shell_common.h" ] } , "bootstrap-sources": { "type": "install" + , "arguments_config": ["APPLET_NAME"] , "deps": - [ "appletlib.c" - , "libbb/auto_string.c" - , "libbb/bb_getgroups.c" - , "libbb/bb_pwd.c" - , "libbb/bb_strtonum.c" - , "libbb/concat_path_file.c" - , "libbb/concat_subpath_file.c" - , "libbb/const_hack.c" - , "libbb/common_bufsiz.c" - , "libbb/compare_string_array.c" - , "libbb/copyfd.c" - , "libbb/crc32.c" - , "libbb/default_error_retval.c" - , "libbb/endofname.c" - , "libbb/fclose_nonstdin.c" - , "libbb/fflush_stdout_and_exit.c" - , "libbb/find_pid_by_name.c" - , "libbb/full_write.c" - , "libbb/get_last_path_component.c" - , "libbb/get_line_from_file.c" - , "libbb/getopt32.c" - , "libbb/isqrt.c" - , "libbb/last_char_is.c" - , "libbb/lineedit.c" - , "libbb/lineedit_ptr_hack.c" - , "libbb/llist.c" - , "libbb/makedev.c" - , "libbb/make_directory.c" - , "libbb/messages.c" - , "libbb/mode_string.c" - , "libbb/parse_mode.c" - , "libbb/perror_msg.c" - , "libbb/process_escape_sequence.c" - , "libbb/procps.c" - , "libbb/ptr_to_globals.c" - , "libbb/printable_string.c" - , "libbb/read.c" - , "libbb/read_key.c" - , "libbb/read_printf.c" - , "libbb/recursive_action.c" - , "libbb/safe_poll.c" - , "libbb/safe_strncpy.c" - , "libbb/safe_write.c" - , "libbb/signals.c" - , "libbb/skip_whitespace.c" - , "libbb/sysconf.c" - , "libbb/time.c" - , "libbb/unicode.c" - , "libbb/u_signal_names.c" - , "libbb/verror_msg.c" - , "libbb/wfopen.c" - , "libbb/wfopen_input.c" - , "libbb/xatonum.c" - , "libbb/xfunc_die.c" - , "libbb/xfuncs.c" - , "libbb/xfuncs_printf.c" - , "libbb/xgetcwd.c" - , "libbb/xreadlink.c" - , "libbb/xrealloc_vector.c" - , "libbb/xregcomp.c" - , "archival/bbunzip.c" - , "archival/chksum_and_xwrite_tar_header.c" - , "archival/libarchive/data_align.c" - , "archival/libarchive/data_extract_all.c" - , "archival/libarchive/data_extract_to_stdout.c" - , "archival/libarchive/data_skip.c" - , "archival/libarchive/filter_accept_all.c" - , "archival/libarchive/filter_accept_reject_list.c" - , "archival/libarchive/find_list_entry.c" - , "archival/libarchive/get_header_tar.c" - , "archival/libarchive/header_list.c" - , "archival/libarchive/header_skip.c" - , "archival/libarchive/header_verbose_list.c" - , "archival/libarchive/init_handle.c" - , "archival/libarchive/open_transformer.c" - , "archival/libarchive/seek_by_jump.c" - , "archival/libarchive/seek_by_read.c" - , "archival/libarchive/unsafe_prefix.c" - , "archival/libarchive/unsafe_symlink_target.c" - , "coreutils/echo.c" - , "coreutils/test.c" - , "coreutils/test_ptr_hack.c" - , "shell/ash_ptr_hack.c" - , "shell/math.c" - , "shell/random.c" - , "shell/shell_common.c" - , "procps/kill.c" - ] + { "type": "++" + , "$1": + [ [ "appletlib.c" + , "archival/bbunzip.c" + , "archival/chksum_and_xwrite_tar_header.c" + , "archival/libarchive/data_align.c" + , "archival/libarchive/data_extract_all.c" + , "archival/libarchive/data_extract_to_stdout.c" + , "archival/libarchive/data_skip.c" + , "archival/libarchive/filter_accept_all.c" + , "archival/libarchive/filter_accept_reject_list.c" + , "archival/libarchive/find_list_entry.c" + , "archival/libarchive/get_header_tar.c" + , "archival/libarchive/header_list.c" + , "archival/libarchive/header_skip.c" + , "archival/libarchive/header_verbose_list.c" + , "archival/libarchive/init_handle.c" + , "archival/libarchive/open_transformer.c" + , "archival/libarchive/seek_by_jump.c" + , "archival/libarchive/seek_by_read.c" + , "archival/libarchive/unsafe_prefix.c" + , "archival/libarchive/unsafe_symlink_target.c" + , "coreutils/libcoreutils/cp_mv_stat.c" + , "coreutils/test_ptr_hack.c" + , "libbb/ask_confirmation.c" + , "libbb/auto_string.c" + , "libbb/bb_cat.c" + , "libbb/bb_getgroups.c" + , "libbb/bb_pwd.c" + , "libbb/bb_strtonum.c" + , "libbb/common_bufsiz.c" + , "libbb/compare_string_array.c" + , "libbb/concat_path_file.c" + , "libbb/concat_subpath_file.c" + , "libbb/const_hack.c" + , "libbb/copyfd.c" + , "libbb/copy_file.c" + , "libbb/crc32.c" + , "libbb/default_error_retval.c" + , "libbb/dump.c" + , "libbb/endofname.c" + , "libbb/executable.c" + , "libbb/fclose_nonstdin.c" + , "libbb/fflush_stdout_and_exit.c" + , "libbb/find_pid_by_name.c" + , "libbb/full_write.c" + , "libbb/get_last_path_component.c" + , "libbb/get_line_from_file.c" + , "libbb/human_readable.c" + , "libbb/getopt32.c" + , "libbb/inode_hash.c" + , "libbb/isdirectory.c" + , "libbb/isqrt.c" + , "libbb/last_char_is.c" + , "libbb/lineedit.c" + , "libbb/lineedit_ptr_hack.c" + , "libbb/llist.c" + , "libbb/makedev.c" + , "libbb/make_directory.c" + , "libbb/messages.c" + , "libbb/mode_string.c" + , "libbb/parse_mode.c" + , "libbb/perror_msg.c" + , "libbb/perror_nomsg_and_die.c" + , "libbb/printable_string.c" + , "libbb/process_escape_sequence.c" + , "libbb/procps.c" + , "libbb/ptr_to_globals.c" + , "libbb/read.c" + , "libbb/read_key.c" + , "libbb/read_printf.c" + , "libbb/recursive_action.c" + , "libbb/remove_file.c" + , "libbb/replace.c" + , "libbb/safe_poll.c" + , "libbb/safe_strncpy.c" + , "libbb/safe_write.c" + , "libbb/signals.c" + , "libbb/single_argv.c" + , "libbb/skip_whitespace.c" + , "libbb/sysconf.c" + , "libbb/time.c" + , "libbb/unicode.c" + , "libbb/u_signal_names.c" + , "libbb/verror_msg.c" + , "libbb/vfork_daemon_rexec.c" + , "libbb/wfopen.c" + , "libbb/wfopen_input.c" + , "libbb/xatonum.c" + , "libbb/xfunc_die.c" + , "libbb/xfuncs.c" + , "libbb/xfuncs_printf.c" + , "libbb/xgetcwd.c" + , "libbb/xreadlink.c" + , "libbb/xrealloc_vector.c" + , "libbb/xregcomp.c" + , "procps/kill.c" + , "shell/ash_ptr_hack.c" + , "shell/math.c" + , "shell/random.c" + , "shell/shell_common.c" + ] + , { "type": "if" + , "cond": + { "type": "==" + , "$1": {"type": "var", "name": "APPLET_NAME"} + , "$2": "echo" + } + , "then": [] + , "else": ["coreutils/echo.c"] + } + , { "type": "if" + , "cond": + { "type": "==" + , "$1": {"type": "var", "name": "APPLET_NAME"} + , "$2": "test" + } + , "then": [] + , "else": ["coreutils/test.c"] + } + ] + } } , "appletlib.c": { "type": "file_gen" |