aboutsummaryrefslogtreecommitdiffstats
path: root/src/ovs/Makefile
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2015-06-22 16:42:38 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-06-30 15:40:40 +0000
commit7cf592eadc769f248830fa3e636ad7957fb910b4 (patch)
tree9af69e67773b14bc8b6c57b994944769c653a5d0 /src/ovs/Makefile
parent151bcf83058b18055ccbb09b1c86ae6de5c89c1a (diff)
src: update DPDK and OVS build to DPDK2.0.0
Update DPDK to build DPDK v2.0.0 and update OVS to link to that version of DPDK. Change-Id: Icc8f9fbcc7a4804a3648f0027b4ea2140888d5d1 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Mark B Kavanagh <mark.b.kavanagh@intel.com> Reviewed-by: TV Rao <tv.rao@freescale.com>
Diffstat (limited to 'src/ovs/Makefile')
-rwxr-xr-x[-rw-r--r--]src/ovs/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ovs/Makefile b/src/ovs/Makefile
index d4acb9d3..68ac0f6d 100644..100755
--- a/src/ovs/Makefile
+++ b/src/ovs/Makefile
@@ -32,6 +32,11 @@ ifeq ($(DPDK_DIR),)
DPDK_DIR = ../../dpdk/dpdk
endif
+ifeq ($(DPDK_TARGET),)
+DPDK_TARGET = x86_64-native-linuxapp-gcc
+endif
+
+
.PHONY: install force_install config force_make
# install depends on make
@@ -41,10 +46,8 @@ WORK_DIR = ovs
TAG_DONE_FLAG = $(WORK_DIR)/.$(OVS_TAG).done
CONFIG_CMD =
CONFIG_CMD += ./configure
-CONFIG_CMD += --with-linux=$(LINUX_BUILD)
-CONFIG_CMD += --prefix=$(INSTALL_DIR)/usr
-CONFIG_CMD += --localstatedir=$(INSTALL_DIR)/usr/local
-CONFIG_CMD += --with-dpdk=$(DPDK_DIR)/build
+CONFIG_CMD += --with-dpdk=$(DPDK_DIR)/$(DPDK_TARGET)
+
all: force_make
@echo "Finished making $(WORK_DIR) "