aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2015-07-30 13:43:23 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-08-05 14:56:27 +0000
commiteaf66887b3a8a80c0e52906d3182f93d52f8e8ba (patch)
tree7b0bd4f8fa517932cbc336324b09e0bc197802a0 /src/Makefile
parent017df35d6c2a73dbdce22e260a8ca16e6b369a01 (diff)
src/ovs: Add support for building vanilla OVS with kernel module
DPDK build remains the default. JIRA: VSPERF-27 Change-Id: I7282e32d2246eaf75e399c5af87ef0ea53981895 Signed-off-by: Timo Puha <timox.puha@intel.com> Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com> Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com> Reviewed-by: Tv Rao <tv.rao@freescale.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index d16b093d..20e78906 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -26,10 +26,14 @@ export VHOST_USER
# specify upstream package as SUBDIRS - common terms as suggest by gnu-make
SUBDIRS =
SUBDIRS += l2fwd
+ifeq ($(WITH_LINUX),)
SUBDIRS += dpdk
+endif
SUBDIRS += ovs
+ifeq ($(WITH_LINUX),)
# specify package dependency here if needed
ovs: dpdk
+endif
include mk/make-subsys.mk