Files
panda-meb/drivers/linux/Makefile
Jeff Palmer d346d2ec33 Add DKMS support
This will add dkms support, and make installations easier. Especially
when upgrading the system from one kernel version to another. DKMS will
handle kernel upgrades automatically.
2017-07-31 11:21:30 -04:00

19 lines
257 B
Makefile

VERSION=0.0.1
obj-m+=panda.o
link:
sudo dkms add `pwd`
build:
sudo dkms build panda/$(VERSION)
install:
sudo dkms install panda/$(VERSION)
all: build install
uninstall:
sudo dkms uninstall panda/$(VERSION)
sudo dkms remove panda/$(VERSION) --all