feature/build-my-own-kernel-rootfs #2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user