gnurabbit: added an installation procedure to avoid do insmod each time the PC boots

parent 11fe94b1
LINUX ?= /lib/modules/$(shell uname -r)/build
LINUX_DRVR ?= /lib/modules/$(shell uname -r)
obj-m = rawrabbit.o
......@@ -11,3 +12,8 @@ all modules:
clean:
rm -rf *.o *~ .*.cmd *.ko *.mod.c .tmp_versions Module.symvers \
Module.markers modules.order
install:
cp rawrabbit.ko $(LINUX_DRVR)/kernel/drivers/pci/
depmod
echo "rawrabbit" >> /etc/modules
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment