summaryrefslogtreecommitdiff
path: root/src/bootstrap/include
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@gmail.com>2023-12-29 18:46:18 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-01-10 13:21:17 +0100
commitaea952933058d1f71173f142fc1ec55a14849f48 (patch)
treed857fde70509d77e9aa35a1c0e986b217c54c942 /src/bootstrap/include
parent19faf1fa1f5aff4854377824e6d4a8b9c0c09032 (diff)
downloadbootstrappable-toolchain-aea952933058d1f71173f142fc1ec55a14849f48.tar.gz
stage-0/busybox: Bootstrap via proper Justbuild target
Diffstat (limited to 'src/bootstrap/include')
-rw-r--r--src/bootstrap/include/stage-0-busybox.TARGETS211
1 files changed, 211 insertions, 0 deletions
diff --git a/src/bootstrap/include/stage-0-busybox.TARGETS b/src/bootstrap/include/stage-0-busybox.TARGETS
new file mode 100644
index 0000000..3e6d8ce
--- /dev/null
+++ b/src/bootstrap/include/stage-0-busybox.TARGETS
@@ -0,0 +1,211 @@
+{ "bootstrap-headers":
+ { "type": "install"
+ , "files": {"original/libbb.h": ["FILE", null, "libbb.h"]}
+ , "deps":
+ [ "applet_metadata.h"
+ , "ar_.h"
+ , "bb_archive.h"
+ , "bb_e2fs_defs.h"
+ , "busybox.h"
+ , "dump.h"
+ , "fix_u32.h"
+ , "grp_.h"
+ , "inet_common.h"
+ , "libbb.h"
+ , "liblzo_interface.h"
+ , "platform.h"
+ , "pwd_.h"
+ , "rtc_.h"
+ , "shadow_.h"
+ , "unicode.h"
+ , "usage.src.h"
+ , "volume_id.h"
+ , "xatonum.h"
+ , "xregex.h"
+ , "common_bufsiz.h"
+ ]
+ }
+, "common_bufsiz.h":
+ { "type": "file_gen"
+ , "name": "common_bufsiz.h"
+ , "data":
+ { "type": "join"
+ , "separator": "\n"
+ , "$1":
+ [ "enum { COMMON_BUFSIZE = 1024 };"
+ , "extern char bb_common_bufsiz1[];"
+ , "#define setup_common_bufsiz() ((void)0)"
+ ]
+ }
+ }
+, "libbb.h":
+ { "type": "file_gen"
+ , "name": "libbb.h"
+ , "data":
+ { "type": "join"
+ , "separator": "\n"
+ , "$1":
+ [ "/* configuration */"
+ , "#define BB_VER \"1.36.1\""
+ , "#define BB_EXTRA_VERSION \"\""
+ , "#define BB_GLOBAL_CONST"
+ , ""
+ , "#define CONFIG_BUSYBOX_EXEC_PATH \"/proc/self/exe\""
+ , "#define CONFIG_FEATURE_COPYBUF_KB 4"
+ , "#define CONFIG_SHA3_SMALL 0"
+ , "#define CONFIG_PASSWORD_MINLEN 6"
+ , "#define CONFIG_PID_FILE_PATH \"\""
+ , ""
+ , "#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_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_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_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_DELETE 0"
+ , "#define ENABLE_FEATURE_FIND_EMPTY 0"
+ , "#define ENABLE_FEATURE_FIND_EXEC 0"
+ , "#define ENABLE_FEATURE_FIND_EXEC_PLUS 0"
+ , "#define ENABLE_FEATURE_FIND_GROUP 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_XDEV 0"
+ , "#define ENABLE_FEATURE_BZIP2_DECOMPRESS 0"
+ , ""
+ , "#define IF_DESKTOP(...)"
+ , "#define IF_NOT_DESKTOP(...) __VA_ARGS__"
+ , "#define IF_SHELL_ASH(...)"
+ , "#define IF_SHELL_HUSH(...)"
+ , "#define IF_ECHO(...)"
+ , "#define IF_SLEEP(...)"
+ , "#define IF_PRINTF(...)"
+ , "#define IF_CHOWN(...)"
+ , "#define IF_LS(...)"
+ , "#define IF_SELINUX(...)"
+ , "#define IF_EXTRA_COMPAT(...)"
+ , "#define IF_FEATURE_SHOW_THREADS(...)"
+ , "#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_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_DELETE(...)"
+ , "#define IF_FEATURE_FIND_EMPTY(...)"
+ , "#define IF_FEATURE_FIND_EXEC(...)"
+ , "#define IF_FEATURE_FIND_EXEC_PLUS(...)"
+ , "#define IF_FEATURE_FIND_GROUP(...)"
+ , "#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_XDEV(...)"
+ , "#define IF_FEATURE_BZIP2_DECOMPRESS(...)"
+ , ""
+ , "/* missing declarations */"
+ , "char *strchrnul(const char *s, int c);"
+ , ""
+ , "/* include original libbb.h */"
+ , "#include \"original/libbb.h\""
+ ]
+ }
+ }
+} \ No newline at end of file