aboutsummaryrefslogtreecommitdiffstats
path: root/debian/dpdk-igb-uio-dkms.dkms
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2016-11-10 16:05:50 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2016-11-10 16:08:37 +0000
commit1dda674f3ed515ca67c4a833fbbdb8d01b0db93a (patch)
treeb91cedb7c305002ae4a48a042d276387ad71ca68 /debian/dpdk-igb-uio-dkms.dkms
parent17c7fb6c69e82253a0d58f5bd20b1dabe377c4e1 (diff)
DKMS: build against the requested kernel
Currently DKMS builds the modules against the running kernel. Pass RTE_KERNELDIR to the make call, using the DKMS-provided ${kernelver} variable. Change-Id: I33b1d06b6f862fa9dd58a2a96898621ed547e3ba Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian/dpdk-igb-uio-dkms.dkms')
-rw-r--r--debian/dpdk-igb-uio-dkms.dkms2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dpdk-igb-uio-dkms.dkms b/debian/dpdk-igb-uio-dkms.dkms
index 10dfecc7..5c7d1925 100644
--- a/debian/dpdk-igb-uio-dkms.dkms
+++ b/debian/dpdk-igb-uio-dkms.dkms
@@ -1,7 +1,7 @@
PACKAGE_NAME="dpdk-igb-uio"
PACKAGE_VERSION="#MODULE_VERSION#"
BUILT_MODULE_NAME[0]="igb_uio"
-MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h'"
+MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h' RTE_KERNELDIR=/lib/modules/${kernelver}/build"
CLEAN="source /usr/share/dpdk/dpdk-sdk-env.sh; make clean"
DEST_MODULE_LOCATION[0]="/updates/dkms"
AUTOINSTALL="YES"