diff options
-rwxr-xr-x | upgrade-kernel | 9 |
1 files changed, 4 insertions, 5 deletions
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 |