Finally built Linux!

This commit is contained in:
Alexander Hill 2026-01-12 20:43:09 -05:00
parent ae121bdfc1
commit c34e63ba5e
3 changed files with 7 additions and 4 deletions

View File

@ -37,7 +37,7 @@ Definitions:
| `libressl` | Yes | Yes | | `libressl` | Yes | Yes |
| `libtool` | Yes | Yes | | `libtool` | Yes | Yes |
| `limine` | | `limine` |
| `linux` | No | No | | `linux` | Yes | Yes |
| `llvm` | No | No | | `llvm` | No | No |
| `m4` | Yes | Yes | | `m4` | Yes | Yes |
| `make` | Yes | Yes | | `make` | Yes | Yes |

View File

@ -38,7 +38,7 @@ echo "Done!"
# NOTE: fortune-mod requires cmake to build. ~ahill # NOTE: fortune-mod requires cmake to build. ~ahill
cd /maple cd /maple
LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib" 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" LAYER2="dash nasm cmake fortune-mod"
PACKAGES="$LAYER0 $LAYER1 $LAYER2" PACKAGES="$LAYER0 $LAYER1 $LAYER2"
for pkg in $PACKAGES; do for pkg in $PACKAGES; do

View File

@ -17,6 +17,9 @@ build() {
LLVM=1 make -j $TT_PROCS YACC=byacc LLVM=1 make -j $TT_PROCS YACC=byacc
} }
clean() { package() {
rm -rf libelf-$SRC_VERSION/ 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
} }