From 41d44cf3d64183ffff0d83a28ccb67b03c56414f Mon Sep 17 00:00:00 2001 From: Jan Blunck Date: Thu, 16 Mar 2017 16:51:47 +0100 Subject: [PATCH] Explicitly pass kerneldir= variable This is a workaround for the assumption of install-kmod functionality that the running kernel is identical with the kernel we build against. This fixes commit 75964339a3 ("Make debian/rules file call install-kmod"). Change-Id: If5b9a99db36d4a9130ee9876ef93d581132369fc Signed-off-by: Jan Blunck Signed-off-by: Luca Boccassi --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 03d6e443..9e272aa6 100755 --- a/debian/rules +++ b/debian/rules @@ -271,6 +271,7 @@ override_dh_auto_install-arch: ifneq (,$(KVERS)) # Package: dpdk-modules- $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) \ + kerneldir=/lib/modules/$(KVERS)/extra/dpdk \ DESTDIR=debian/dpdk-modules-$(KVERS) install-kmod endif -- 2.16.6