aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-08-25 13:46:32 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-25 13:46:32 +0000
commit1f889a9e222ffedbc8da497b7dd2f48335f1db78 (patch)
treeaabdba3bf6dc684170435e0302d2f5906f3a9550
parentaf66b453e1f361c39dc1b6999e07f54cc1fd63f6 (diff)
parent6729117431e563a7169ac7fa9c64b35dbdcdb399 (diff)
Merge "build: Rename cloned repositories and remove cuse"
-rw-r--r--src/Makefile.src_cuse33
-rwxr-xr-xsrc/dpdk/Makefile5
-rw-r--r--src/ovs/Makefile2
-rwxr-xr-xsrc/qemu/Makefile2
-rw-r--r--src/vpp/Makefile2
5 files changed, 4 insertions, 40 deletions
diff --git a/src/Makefile.src_cuse b/src/Makefile.src_cuse
deleted file mode 100644
index 0ddac4cb..00000000
--- a/src/Makefile.src_cuse
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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
-ovs: dpdk
-WITH_LINUX =
-VHOST_USER = n
-include mk/make-subsys.mk
diff --git a/src/dpdk/Makefile b/src/dpdk/Makefile
index 69671169..4b4330d7 100755
--- a/src/dpdk/Makefile
+++ b/src/dpdk/Makefile
@@ -99,9 +99,6 @@ ifdef CONFIG_FILE_BASE
$(AT)cd `dirname $(CONFIG_FILE_BASE)` && git checkout `basename $(CONFIG_FILE_BASE)` && cd -
endif
$(AT)echo "VHOST_USER = $(VHOST_USER)"
-ifeq ($(VHOST_USER),n)
- $(AT)cd $(WORK_DIR)/lib/librte_vhost/eventfd_link; make
-endif
@echo "Make done"
install: $(INSTALL_TARGET)
@@ -126,7 +123,7 @@ sanity:
@echo "Make sanity in $(WORK_DIR) (stub) "
$(WORK_DIR):
- $(AT)git clone $(DPDK_URL)
+ $(AT)git clone $(DPDK_URL) dpdk
$(TAG_DONE_FLAG): $(WORK_DIR)
$(AT)cd $(WORK_DIR); git checkout $(DPDK_TAG)
diff --git a/src/ovs/Makefile b/src/ovs/Makefile
index ee15c521..e3adc2f8 100644
--- a/src/ovs/Makefile
+++ b/src/ovs/Makefile
@@ -111,7 +111,7 @@ boot $(WORK_DIR)/configure:
boot $(WORK_DIR)/configure: $(TAG_DONE_FLAG)
$(WORK_DIR):
- $(AT)git clone $(OVS_URL)
+ $(AT)git clone $(OVS_URL) ovs
$(AT)mkdir -p $(OVS_VANILLA)
$(AT)cp -rf ./* $(OVS_VANILLA)
diff --git a/src/qemu/Makefile b/src/qemu/Makefile
index 5f5e941f..b105496c 100755
--- a/src/qemu/Makefile
+++ b/src/qemu/Makefile
@@ -68,7 +68,7 @@ sanity:
$(WORK_DIR)/configure: $(TAG_DONE_FLAG)
$(WORK_DIR):
- $(AT)git clone $(QEMU_URL)
+ $(AT)git clone $(QEMU_URL) qemu
$(TAG_DONE_FLAG): $(WORK_DIR)
$(AT)cd $(WORK_DIR); git checkout $(QEMU_TAG)
diff --git a/src/vpp/Makefile b/src/vpp/Makefile
index de50d941..d3146f46 100644
--- a/src/vpp/Makefile
+++ b/src/vpp/Makefile
@@ -66,7 +66,7 @@ sanity:
$(WORK_DIR)/configure: $(TAG_DONE_FLAG)
$(WORK_DIR):
- $(AT)git clone $(VPP_URL)
+ $(AT)git clone $(VPP_URL) vpp
$(TAG_DONE_FLAG): $(WORK_DIR)
$(AT)cd vpp; git checkout $(VPP_TAG)