feature/build-my-own-kernel-rootfs #2

Merged
antoine merged 15 commits from feature/build-my-own-kernel-rootfs into main 2024-01-06 20:25:13 +00:00
Showing only changes of commit e179a6c27b - Show all commits

View File

@ -6,7 +6,7 @@ set -ex
KERNEL_VERSION=$1
WD=../out
NPROC=4
NPROC=8
## Install build tools
# pacman -Syu base-devel bc pahole --ignore linux-firmware
@ -48,6 +48,4 @@ make -C "$WD"/linux/ kvm_guest.config
#make -C "$WD"/linux/ -j$NPROC EXTRA_CFLAGS=-Wno-error=use-after-free
make -C "$WD"/linux/ -j$NPROC WERROR=0
cp "$WD"/vmlinux "$WD"/vmlinux-$KERNEL_VERSION
sudo rm -rf "$WD"/linux
cp "$WD"/linux/vmlinux "$WD"/vmlinux-$KERNEL_VERSION