Support DKMS
This commit is contained in:
parent
d8c9001418
commit
30a5d5da58
2 changed files with 8 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -18,6 +18,4 @@ clean:
|
||||||
make -C $(KDIR)/build M=$(shell pwd) clean
|
make -C $(KDIR)/build M=$(shell pwd) clean
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(KDIR)/updates/
|
make -C $(KDIR)/build M=$(shell pwd) modules_install
|
||||||
cp snd-hda-codec-cs8409.ko $(KDIR)/updates/
|
|
||||||
depmod -a
|
|
||||||
|
|
7
dkms.conf
Normal file
7
dkms.conf
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
PACKAGE_NAME="snd-hda-codec-cs8409"
|
||||||
|
PACKAGE_VERSION="1.0"
|
||||||
|
MAKE[0]="make KVERSION=$kernelver"
|
||||||
|
CLEAN="make clean"
|
||||||
|
BUILT_MODULE_NAME[0]="snd-hda-codec-cs8409"
|
||||||
|
DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
|
||||||
|
AUTOINSTALL="yes"
|
Loading…
Reference in a new issue