mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
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.
19 lines
257 B
Makefile
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
|
|
|