improved base and added PP defines KERNEL_UPSTREAM TESTING DEBUG
This commit is contained in:
12
km/install.sh
Executable file
12
km/install.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
make clean
|
||||
make
|
||||
sudo rmmod TaxiDriver
|
||||
sudo rm /dev/TaxiDriver
|
||||
# choose a unique MAJOR number; read out the used number and adjust in mknod for next use.
|
||||
# MAJOR number has to match mknod to open device!
|
||||
# 511, 250, 505
|
||||
sudo mknod /dev/TaxiDriver c 506 0
|
||||
sudo chmod 666 /dev/TaxiDriver
|
||||
sudo insmod TaxiDriver.ko
|
||||
cat /proc/devices | grep -i "TaxiDriver"
|
||||
Reference in New Issue
Block a user