summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-01-28 10:59:21 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-02-16 16:08:43 +0000
commit510ec74793530dafb3fc18716442b36d19802516 (patch)
tree0f6791cd46aa93ff1a6e0fb0d338cc69680c7e8a
parent43cd2dabd44185aed859aa87d25974a359af79d9 (diff)
src: update make install for DPDK
Update make install for DPDK to install to the appropriate DESTDIR. Change-Id: I6e4f0707038c05eeb2e2849ce34300149d8c5410 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Ian Stokes <ian.stokes@intel.com> Reviewed-by: Antonio Fischetti<antonio.fischetti@intel.com> Reviewed-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com> Reviewed-by: Al Morton <acmorton@att.com
-rwxr-xr-xsrc/dpdk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dpdk/Makefile b/src/dpdk/Makefile
index 030e4ba9..25ec3f12 100755
--- a/src/dpdk/Makefile
+++ b/src/dpdk/Makefile
@@ -53,7 +53,7 @@ force_make: $(TAG_DONE_FLAG)
$(AT)sed -i -e 's/CONFIG_RTE_BUILD_COMBINE_LIBS=./CONFIG_RTE_BUILD_COMBINE_LIBS=y/g' $(CONFIG_FILE)
$(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_VHOST=./CONFIG_RTE_LIBRTE_VHOST=y/g' $(CONFIG_FILE)
$(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_KNI=./CONFIG_RTE_LIBRTE_KNI=n/g' $(CONFIG_FILE)
- $(AT)cd $(WORK_DIR); make install T=$(DPDK_TARGET) -j
+ $(AT)cd $(WORK_DIR); make install T=$(DPDK_TARGET) -j DESTDIR=$(WORK_DIR)
$(AT)cd `dirname $(CONFIG_FILE)` && git checkout `basename $(CONFIG_FILE)` && cd -
$(AT)echo "VHOST_USER = $(VHOST_USER)"
ifeq ($(VHOST_USER),n)