diff --git a/rootfs-kernel/kernel.sh b/rootfs-kernel/kernel.sh index 33c2755..020dde0 100755 --- a/rootfs-kernel/kernel.sh +++ b/rootfs-kernel/kernel.sh @@ -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