+++ /dev/null
-# 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
$(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)
@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)
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)
$(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)
$(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)