summaryrefslogtreecommitdiff
path: root/src/bootstrap/include
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-03-26 18:17:32 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-28 16:23:54 +0200
commit2202cf5225b3fa6c267c46498f2a5c8d9b7dbb6d (patch)
treef7afc251422499cf013900e73f84791cc8f18228 /src/bootstrap/include
parent204b118c3674169cef3fc6266034785f2444d0e4 (diff)
downloadbootstrappable-toolchain-2202cf5225b3fa6c267c46498f2a5c8d9b7dbb6d.tar.gz
stage-0/busybox: Also bootstrap ash
Diffstat (limited to 'src/bootstrap/include')
-rw-r--r--src/bootstrap/include/stage-0-busybox.TARGETS57
1 files changed, 55 insertions, 2 deletions
diff --git a/src/bootstrap/include/stage-0-busybox.TARGETS b/src/bootstrap/include/stage-0-busybox.TARGETS
index 3e6d8ce..c465c5a 100644
--- a/src/bootstrap/include/stage-0-busybox.TARGETS
+++ b/src/bootstrap/include/stage-0-busybox.TARGETS
@@ -23,6 +23,7 @@
, "xatonum.h"
, "xregex.h"
, "common_bufsiz.h"
+ , "NUM_APPLETS.h"
]
}
, "common_bufsiz.h":
@@ -38,6 +39,11 @@
]
}
}
+, "NUM_APPLETS.h":
+ { "type": "file_gen"
+ , "name": "NUM_APPLETS.h"
+ , "data": "#define NUM_APPLETS 2 /* don't care, as long as it is >1 */"
+ }
, "libbb.h":
{ "type": "file_gen"
, "name": "libbb.h"
@@ -55,6 +61,8 @@
, "#define CONFIG_SHA3_SMALL 0"
, "#define CONFIG_PASSWORD_MINLEN 6"
, "#define CONFIG_PID_FILE_PATH \"\""
+ , "#define CONFIG_FEATURE_EDITING_MAX_LEN 1024"
+ , "#define CONFIG_SUBST_WCHAR 63"
, ""
, "#define ENABLE_DESKTOP 0"
, "#define ENABLE_TAR 1"
@@ -71,6 +79,29 @@
, "#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_CMDCMD 1"
+ , "#define ENABLE_ASH_ECHO 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"
@@ -132,10 +163,23 @@
, "#define ENABLE_FEATURE_FIND_MAXDEPTH 0"
, "#define ENABLE_FEATURE_FIND_XDEV 0"
, "#define ENABLE_FEATURE_BZIP2_DECOMPRESS 0"
+ , "#define ENABLE_FEATURE_SH_READ_FRAC 1"
+ , "#define ENABLE_FEATURE_SH_MATH 1"
+ , "#define ENABLE_FEATURE_SH_STANDALONE 0"
+ , "#define ENABLE_FEATURE_EDITING 1"
+ , "#define ENABLE_FEATURE_TAB_COMPLETION 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_VI_ASK_TERMINAL 1"
+ , "#define ENABLE_FEATURE_LESS_ASK_TERMINAL 1"
+ , "#define ENABLE_FEATURE_CHECK_UNICODE_IN_ENV 0"
, ""
, "#define IF_DESKTOP(...)"
, "#define IF_NOT_DESKTOP(...) __VA_ARGS__"
- , "#define IF_SHELL_ASH(...)"
+ , "#define IF_SHELL_ASH(...) __VA_ARGS__"
, "#define IF_SHELL_HUSH(...)"
, "#define IF_ECHO(...)"
, "#define IF_SLEEP(...)"
@@ -144,6 +188,11 @@
, "#define IF_LS(...)"
, "#define IF_SELINUX(...)"
, "#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_CP_REFLINK(...)"
, "#define IF_FEATURE_SHADOWPASSWDS(...)"
@@ -199,6 +248,10 @@
, "#define IF_NOT_FEATURE_FIND_MAXDEPTH(...) __VA_ARGS__"
, "#define IF_FEATURE_FIND_XDEV(...)"
, "#define IF_FEATURE_BZIP2_DECOMPRESS(...)"
+ , "#define IF_FEATURE_SH_MATH(...) __VA_ARGS__"
+ , "#define IF_FEATURE_SH_STANDALONE(...)"
+ , "#define IF_FEATURE_EDITING_VI(...)"
+ , "#define IF_FEATURE_EDITING_WINCH(...) __VA_ARGS__"
, ""
, "/* missing declarations */"
, "char *strchrnul(const char *s, int c);"
@@ -208,4 +261,4 @@
]
}
}
-} \ No newline at end of file
+}