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_vanilla | |
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_vanilla')
-rw-r--r-- | src/Makefile.src_vanilla | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Makefile.src_vanilla b/src/Makefile.src_vanilla new file mode 100644 index 00000000..922d5e53 --- /dev/null +++ b/src/Makefile.src_vanilla @@ -0,0 +1,33 @@ +# 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 +export WITH_LINUX + +# specify upstream package as SUBDIRS - common terms as suggest by gnu-make +SUBDIRS = +SUBDIRS += ovs +SUBDIRS += qemu +WITH_LINUX=/lib/modules/`uname -r`/build +VHOST_USER = n +include mk/make-subsys.mk |