Initial commit

This commit is contained in:
2026-03-21 12:43:00 -05:00
commit 83bf16823c
438 changed files with 33617 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
cp ../config.$CARCH .config
LLVM=1 make olddefconfig
LLVM=1 make -s kernelrelease > version
LLVM=1 make all
echo "Installing Kernel..."
install -Dm644 "$(make -s image_name)" "$DESTDIR/boot/vmlinuz-linux-vertex"
echo "Installing modules..."
ZSTD_CLEVEL=22 LLVM=1 make INSTALL_MOD_PATH="$DESTDIR/usr" INSTALL_MOD_STRIP=1 DEPMOD=/doesnt/exist modules_install
find "$DESTDIR/usr/lib/modules" -mindepth 2 -maxdepth 2 \( -name build -o -name source \) -exec rm -rf -- {} +
kver="$(LLVM=1 make -s kernelrelease)"
ln -sfn "../../../../boot/vmlinuz-linux-vertex" "$DESTDIR/usr/lib/modules/$kver/vmlinuz"