1 # Lustre Linux kernel module (DKMS)
2 # Created by Guy Coates
3 # Updated by Michael Kuhn
4 # Copyright 2012 Genome Research Ltd.
5 # 2017-2018 Universität Hamburg
7 PACKAGE_NAME="lustre-client-modules"
8 PACKAGE_VERSION="@UPVERSION@"
10 # We need to run autogen.sh between builds, see Ubuntu bug #952817
11 MAKE="sh autogen.sh && ./configure --with-linux=$kernel_source_dir --with-linux-obj=$kernel_source_dir --disable-server --disable-quilt --disable-dependency-tracking --disable-doc --disable-utils --disable-iokit --disable-snmp --disable-tests --enable-quota --with-kmp-moddir=updates && make"
12 CLEAN="make distclean || true"
18 BUILT_MODULE_NAME[0]="fid"
19 BUILT_MODULE_NAME[1]="fld"
20 BUILT_MODULE_NAME[2]="lmv"
21 BUILT_MODULE_NAME[3]="lov"
22 BUILT_MODULE_NAME[4]="lustre"
23 BUILT_MODULE_NAME[5]="mdc"
24 BUILT_MODULE_NAME[6]="mgc"
25 BUILT_MODULE_NAME[7]="obdclass"
26 BUILT_MODULE_NAME[8]="obdecho"
27 BUILT_MODULE_NAME[9]="osc"
28 BUILT_MODULE_NAME[10]="ptlrpc"
29 BUILT_MODULE_NAME[11]="ko2iblnd"
30 BUILT_MODULE_NAME[12]="ksocklnd"
31 BUILT_MODULE_NAME[13]="libcfs"
32 BUILT_MODULE_NAME[14]="lnet"
33 BUILT_MODULE_NAME[15]="lnet_selftest"
35 # Location of the modules in the source tree after build
36 BUILT_MODULE_LOCATION[0]="lustre/fid"
37 BUILT_MODULE_LOCATION[1]="lustre/fld"
38 BUILT_MODULE_LOCATION[2]="lustre/lmv"
39 BUILT_MODULE_LOCATION[3]="lustre/lov"
40 BUILT_MODULE_LOCATION[4]="lustre/llite"
41 BUILT_MODULE_LOCATION[5]="lustre/mdc"
42 BUILT_MODULE_LOCATION[6]="lustre/mgc"
43 BUILT_MODULE_LOCATION[7]="lustre/obdclass"
44 BUILT_MODULE_LOCATION[8]="lustre/obdecho"
45 BUILT_MODULE_LOCATION[9]="lustre/osc"
46 BUILT_MODULE_LOCATION[10]="lustre/ptlrpc"
47 BUILT_MODULE_LOCATION[11]="lnet/klnds/o2iblnd"
48 BUILT_MODULE_LOCATION[12]="lnet/klnds/socklnd"
49 BUILT_MODULE_LOCATION[13]="libcfs/libcfs"
50 BUILT_MODULE_LOCATION[14]="lnet/lnet"
51 BUILT_MODULE_LOCATION[15]="lnet/selftest"
53 # Final destination of the modules under /lib/modules/<kernel>/
54 DEST_MODULE_LOCATION[0]="/updates/kernel/fs/lustre"
55 DEST_MODULE_LOCATION[1]="/updates/kernel/fs/lustre"
56 DEST_MODULE_LOCATION[2]="/updates/kernel/fs/lustre"
57 DEST_MODULE_LOCATION[3]="/updates/kernel/fs/lustre"
58 DEST_MODULE_LOCATION[4]="/updates/kernel/fs/lustre"
59 DEST_MODULE_LOCATION[5]="/updates/kernel/fs/lustre"
60 DEST_MODULE_LOCATION[6]="/updates/kernel/fs/lustre"
61 DEST_MODULE_LOCATION[7]="/updates/kernel/fs/lustre"
62 DEST_MODULE_LOCATION[8]="/updates/kernel/fs/lustre"
63 DEST_MODULE_LOCATION[9]="/updates/kernel/fs/lustre"
64 DEST_MODULE_LOCATION[10]="/updates/kernel/fs/lustre"
65 DEST_MODULE_LOCATION[11]="/updates/kernel/net/lustre"
66 DEST_MODULE_LOCATION[12]="/updates/kernel/net/lustre"
67 DEST_MODULE_LOCATION[13]="/updates/kernel/net/lustre"
68 DEST_MODULE_LOCATION[14]="/updates/kernel/net/lustre"
69 DEST_MODULE_LOCATION[15]="/updates/kernel/net/lustre"