]> git.proxmox.com Git - mirror_spl-debian.git/blame - debian/dkms
Fix invalid command in dkms, thanks Petter Reinholdtsen. (Closes #836578)
[mirror_spl-debian.git] / debian / dkms
CommitLineData
0fbe1fc0
DH
1AUTOINSTALL="yes"
2PACKAGE_NAME="spl"
3PACKAGE_VERSION="#MODULE_VERSION#"
1e4c5cbb
DH
4PRE_BUILD="configure
5 --prefix=/usr
6 --with-config=kernel
7 --with-linux=$(case `lsb_release -is` in
f6f03129
DH
8 (Debian)
9 if [ -e ${kernel_source_dir/%build/source} ]
10 then
11 echo ${kernel_source_dir/%build/source}
12 else
13 # This is a kpkg exception for Proxmox 2.0
14 echo ${kernel_source_dir}
15 fi
16 ;;
17 (*)
18 echo ${kernel_source_dir}
19 ;;
1e4c5cbb
DH
20 esac)
21 --with-linux-obj=${kernel_source_dir}
22"
ec29dba2 23POST_BUILD="cp
28aa9037
DH
24 ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/spl_config.h
25 ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/module/Module.symvers
26 ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/${kernelver}/${arch}/
27"
0fbe1fc0 28REMAKE_INITRD="no"
28aa9037 29MAKE[0]="make"
0fbe1fc0
DH
30BUILT_MODULE_NAME[0]="spl"
31BUILT_MODULE_LOCATION[0]="module/spl/"
32DEST_MODULE_LOCATION[0]="/extra/spl/spl"
0fbe1fc0
DH
33BUILT_MODULE_NAME[1]="splat"
34BUILT_MODULE_LOCATION[1]="module/splat/"
28aa9037 35DEST_MODULE_LOCATION[1]="/extra/splat/splat"