diff options
author | Radek Zetik <radekx.zetik@intel.com> | 2015-10-01 18:13:18 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-10-07 14:52:16 +0000 |
commit | 1550b638fca662c5e68556702ff0316c3fc9562c (patch) | |
tree | b1127cc75b45fd64b216070ed78b57e52db2c30e /src/Makefile.src_cuse | |
parent | 46e36fffc36753b0e8e3f79f78dc084f26930a82 (diff) |
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 <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Diffstat (limited to 'src/Makefile.src_cuse')
-rw-r--r-- | src/Makefile.src_cuse | 34 |
1 files changed, 34 insertions, 0 deletions
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 |