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 }