Updated treetap, fixed the bootstrap, and replaced ld.lld with mold

This commit is contained in:
Alexander Hill
2025-11-22 20:35:27 -05:00
parent 320a2dbb2e
commit bca382ed71
8 changed files with 189 additions and 97 deletions

View File

@@ -10,6 +10,7 @@ SRC_VERSION="1.36.1"
build() {
tar xf ../$SRC_FILENAME
cd busybox-*/
cp ../.config .
# NOTE: Like we did with musl before, we don't set CROSS_COMPILE because
# LLVM is smart and doesn't need a compiler to cross-compile code.
# With that said, Busybox uses Kbuild, which hard-codes variables like
@@ -31,6 +32,7 @@ clean() {
}
package() {
cd busybox-*/
# NOTE: Busybox doesn't have a proper DESTDIR, so we just set CONFIG_PREFIX
# during the install to work around this limitation. ~ahill
make -O -j $TT_PROCS install CONFIG_PREFIX=$TT_INSTALLDIR