From c34e63ba5e26b862222a20532169c5756ed11fcd Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Mon, 12 Jan 2026 20:43:09 -0500 Subject: [PATCH] Finally built Linux! --- STATUS.md | 2 +- rootbuild.sh | 2 +- sources/linux/linux.spec | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/STATUS.md b/STATUS.md index 9bd3947..9db8b3c 100644 --- a/STATUS.md +++ b/STATUS.md @@ -37,7 +37,7 @@ Definitions: | `libressl` | Yes | Yes | | `libtool` | Yes | Yes | | `limine` | -| `linux` | No | No | +| `linux` | Yes | Yes | | `llvm` | No | No | | `m4` | Yes | Yes | | `make` | Yes | Yes | diff --git a/rootbuild.sh b/rootbuild.sh index 6035ba4..68494e5 100755 --- a/rootbuild.sh +++ b/rootbuild.sh @@ -38,7 +38,7 @@ echo "Done!" # NOTE: fortune-mod requires cmake to build. ~ahill cd /maple LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib" -LAYER1="autoconf automake flex groff libarchive libelf libtool" +LAYER1="autoconf automake flex groff libarchive libelf libtool linux" LAYER2="dash nasm cmake fortune-mod" PACKAGES="$LAYER0 $LAYER1 $LAYER2" for pkg in $PACKAGES; do diff --git a/sources/linux/linux.spec b/sources/linux/linux.spec index 27887bd..c00d911 100755 --- a/sources/linux/linux.spec +++ b/sources/linux/linux.spec @@ -17,6 +17,9 @@ build() { LLVM=1 make -j $TT_PROCS YACC=byacc } -clean() { - rm -rf libelf-$SRC_VERSION/ +package() { + cd linux-$SRC_VERSION/ + make -j $TT_PROCS install INSTALL_PATH=$TT_INSTALLDIR/boot + make -j $TT_PROCS modules_install INSTALL_MOD_PATH=$TT_INSTALLDIR + # TODO: Run dtbs_install on non-x86 systems ~ahill }