From: Luca Boccassi Date: Tue, 6 Sep 2016 10:50:28 +0000 (+0100) Subject: Pass RTE_KERNELDIR to static build too X-Git-Tag: debian/16.07-1~42 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F2654%2F1;p=deb_dpdk.git 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 --- 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).