aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2016-09-06 11:50:28 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2016-09-06 11:50:28 +0100
commitdd9a7f9a6f3f7de50efa2bf858686c9e6bf75312 (patch)
treee78ab24141f726fab4123a893f051545ea90a686 /debian
parent8c313787951baa481647450bbc2750547db95c78 (diff)
Pass RTE_KERNELDIR to static build too
Otherwise the DPDK build errors out when the other environment variables are set. Change-Id: Iaa63a8e747be4daae5d23fa986e184a63eed827f Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index b072cbdf..b982b245 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,7 +119,7 @@ override_dh_auto_install-indep:
DESTDIR=debian/dpdk-doc install-doc
override_dh_auto_build-arch:
- $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) build
+ $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) RTE_KERNELDIR=$(KSRC) build
# Unfortunately the decision about having static or shared libraries is
# made for the whole build, which then produces only .a or .so files
# (but not both).