From 8875dffba9e74a8c57b19506eb50f89b32300297 Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 3 Apr 2021 09:28:04 +0200 Subject: upgrade-kernel: nicer phc_intel --- upgrade-kernel | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'upgrade-kernel') diff --git a/upgrade-kernel b/upgrade-kernel index 819ae76..910d1f7 100755 --- a/upgrade-kernel +++ b/upgrade-kernel @@ -9,7 +9,7 @@ echo "Building Kernel @$V" make mrproper cp -v ../config .config -make +make -j $(nproc) # modules # FIXME: This will fail when there already exists a directory for version $V @@ -35,10 +35,9 @@ sudo make HDAPS=0 install KVER=$V KSRC=/home/pks/.local/src/kernel/linux-$V KBUI sudo make clean # phc intel -cd ~/.local/src/kernel/phc_intel/phc-intel-pack-rev32 -export KERNELSRC=/home/pks/.local/src/kernel/linux-$V -make -sudo mv phc-intel.ko /lib/modules/$V/extra/phc_intel.ko +cd ~/.local/src/kernel/phc_intel/ +KERNELRELEASE=$V KERNELSRC=../../linux-$V make +sudo make install make clean sudo depmod -- cgit v1.2.3