summaryrefslogtreecommitdiff
path: root/scripts/build-and-install
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2021-06-06 15:04:25 +0200
committerpks <pks@pks.rocks>2021-06-06 15:04:25 +0200
commit5646917bd2835de02dc9df0cbc121251c01999c7 (patch)
treed1c43cf6d914ebbdde4df3986d8d0a40aef8bea0 /scripts/build-and-install
parent5d3fc478d5e2f7d49a96f54d2606dab9589592f3 (diff)
Diffstat (limited to 'scripts/build-and-install')
-rwxr-xr-xscripts/build-and-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-and-install b/scripts/build-and-install
index 98d63f1..c52a458 100755
--- a/scripts/build-and-install
+++ b/scripts/build-and-install
@@ -33,12 +33,12 @@ pushd .
# tp smapi
cd ../extra_modules/tp_smapi/
-sudo make HDAPS=0 install KVER=$V KSRC=/home/pks/.local/src/kernel/linux-$V KBUILD=/home/pks/.local/src/kernel/linux-$V
+sudo make HDAPS=0 install KVER=$V KSRC=/usr/src/linux KBUILD=../../linux-$V
sudo make clean
# phc intel
cd ../phc_intel/
-KERNELRELEASE=$V KERNELSRC=../linux-$V make
+KERNELRELEASE=$V KERNELSRC=/usr/src/linux make
sudo make install
make clean
sudo depmod