diff options
author | Jan Blunck <jblunck@brocade.com> | 2017-03-16 16:51:47 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2017-03-16 15:57:15 +0000 |
commit | 41d44cf3d64183ffff0d83a28ccb67b03c56414f (patch) | |
tree | c178d22ca2e2d56ca5ef894e615556de820949ae /debian/rules | |
parent | bc603db838495a6149b866fbdf2413670a0c96f2 (diff) |
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 <jblunck@infradead.org>
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 1 |
1 files changed, 1 insertions, 0 deletions
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-<kernel version> $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) \ + kerneldir=/lib/modules/$(KVERS)/extra/dpdk \ DESTDIR=debian/dpdk-modules-$(KVERS) install-kmod endif |