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>
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