-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdkms.conf.in
53 lines (46 loc) · 1.68 KB
/
dkms.conf.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# Copyright 2023,2025 Hewlett Packard Enterprise Development LP
#
## Global options
PACKAGE_NAME="@PACKAGE_NAME@"
# Package version should change with each new version
PACKAGE_VERSION="@PACKAGE_VERSION@"
## SHS DKMS variables
SHS_DKMS_PACKAGEROOT="${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}"
SHS_DKMS_BUILDROOT="${SHS_DKMS_PACKAGEROOT}/build"
SHS_MAKE_ARGS="\
--jobs=1\
--print-directory\
\
-C ${kernel_source_dir}\
\
KDIR=${kernel_source_dir}\
KERNELRELEASE=${kernelrel}\
M=${SHS_DKMS_BUILDROOT}/rxe\
\
SHS_DKMS_BUILDROOT=${SHS_DKMS_BUILDROOT}\
\
VERSION=${PACKAGE_VERSION}\
"
# The default make command should be put into MAKE[0]. Other entries in the MAKE array will only be used
# if their corresponding entry in MAKE_MATCH[#] matches, as a regular expression (using egrep), the
# kernel that the module is being built for.
MAKE="'make' --jobs=${parallel_jobs} ${SHS_MAKE_ARGS} modules"
CLEAN="'make' --jobs=${parallel_jobs} ${SHS_MAKE_ARGS} clean"
## SHS global default DKMS settings (expected to not change between any SHS components)
# Rebuild and autoinstall automatically when dkms_autoinstaller runs for a new kernel
AUTOINSTALL="yes"
# Post-build hook to copy our Module.symvers into the DKMS tree so that other modules can build against it
POST_BUILD="dkms.post_build.sh ${SHS_DKMS_BUILDROOT} ${SHS_DKMS_PACKAGEROOT}"
## Per-module variables
# destination is 'extra' rather than kernel due to the fact our modules are not in-tree modules.
# see https://docs.kernel.org/kbuild/modules.html#module-installation for details
#
# rdma_rxe.ko
#
BUILT_MODULE_NAME[0]="rdma_rxe"
DEST_MODULE_NAME[0]="rdma_rxe"
BUILT_MODULE_LOCATION[0]="./rxe"
DEST_MODULE_LOCATION[0]="/extra"
STRIP[0]=no
#