Skip to content

Commit 60f092d

Browse files
committed
add dkms support
1 parent 36d9887 commit 60f092d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

dkms.conf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PACKAGE_VERSION="0.41"
2+
PACKAGE_NAME="tp_smapi"
3+
# Makefile expects the list of modules to be passed as TP_MODULES
4+
# build from kernel tree
5+
MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build TP_MODULES='thinkpad_ec.o tp_smapi.o hdaps.o' modules"
6+
# clean from driver three
7+
CLEAN="make -C ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
8+
9+
BUILT_MODULE_NAME[0]="tp_smapi"
10+
BUILT_MODULE_NAME[1]="thinkpad_ec"
11+
BUILT_MODULE_NAME[2]="hdaps"
12+
DEST_MODULE_LOCATION[0]="/extra"
13+
DEST_MODULE_LOCATION[1]="/extra"
14+
DEST_MODULE_LOCATION[2]="/extra"
15+
16+
AUTOINSTALL="yes"

0 commit comments

Comments
 (0)