-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdkms.conf
More file actions
30 lines (24 loc) · 1 KB
/
Copy pathdkms.conf
File metadata and controls
30 lines (24 loc) · 1 KB
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
PACKAGE_NAME="netdevsim"
PACKAGE_VERSION="6.9.5"
AUTOINSTALL="yes"
# All symbols are nsim_-prefixed so our modules never collide with the
# kernel's built-in PTP / DPLL. We always build and install all four.
MAKE[0]="make KVER=${kernelver}"
CLEAN="make KVER=${kernelver} clean"
POST_INSTALL="install-udev-rule.sh"
# Module 0: nsim_ptp.ko (PTP core with nsim_-prefixed symbols)
BUILT_MODULE_NAME[0]="nsim_ptp"
BUILT_MODULE_LOCATION[0]="ptp/"
DEST_MODULE_LOCATION[0]="/kernel/drivers/ptp/"
# Module 1: nsim_ptp_mock.ko (mock PTP clock)
BUILT_MODULE_NAME[1]="nsim_ptp_mock"
BUILT_MODULE_LOCATION[1]="ptp/"
DEST_MODULE_LOCATION[1]="/kernel/drivers/ptp/"
# Module 2: nsim_dpll.ko (DPLL subsystem with nsim_-prefixed symbols)
BUILT_MODULE_NAME[2]="nsim_dpll"
BUILT_MODULE_LOCATION[2]="dpll/"
DEST_MODULE_LOCATION[2]="/kernel/drivers/dpll/"
# Module 3: netdevsim.ko (replaces the kernel's netdevsim)
BUILT_MODULE_NAME[3]="netdevsim"
BUILT_MODULE_LOCATION[3]="netdevsim/"
DEST_MODULE_LOCATION[3]="/kernel/drivers/net/netdevsim/"