From 1550b638fca662c5e68556702ff0316c3fc9562c Mon Sep 17 00:00:00 2001 From: Radek Zetik Date: Thu, 1 Oct 2015 18:13:18 +0100 Subject: The 'make' creates all required variants of vSwitch Currently the VSPERF makefiles make just one variant of vSwitch - OVS with DPDK-vhost-user. To make the other variants the makefile has to be edited. And the make re-run. The fix builds all required versions: DPDK-vhost-user OVS (in src/) Vanilla OVS (in src_vanilla/) DPDK-vhost-cuse OVS (in src_cuse/) HowTo: - git clone vsperf - cd .../src - make JIRA: VSPERF-85 Change-Id: I469baf8432f0b127cde785f35a6c57a2c778f23f Signed-off-by: Radek Zetik Reviewed-by: Maryam Tahhan Reviewed-by: Brian Castelli --- src/Makefile.src_cuse | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/Makefile.src_cuse (limited to 'src/Makefile.src_cuse') diff --git a/src/Makefile.src_cuse b/src/Makefile.src_cuse new file mode 100644 index 00000000..74e76f4f --- /dev/null +++ b/src/Makefile.src_cuse @@ -0,0 +1,34 @@ +# Top Makefile to build upstream packages. +# + +# Copyright 2015 OPNFV +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# +# Contributors: +# Aihua Li, Huawei Technologies. + +include mk/master.mk + +export VHOST_USER + +# specify upstream package as SUBDIRS - common terms as suggest by gnu-make +SUBDIRS = +SUBDIRS += dpdk +SUBDIRS += ovs +SUBDIRS += qemu +ovs: dpdk +WITH_LINUX = +VHOST_USER = n +include mk/make-subsys.mk -- cgit 1.2.3-korg