f_ovsnfv-dpdk-pluginbuild: Update repo location
[fuel.git] / build / f_isoroot / Makefile
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 # Add Fuel plugin build targets here
12 PLUGINS = f_odlpluginbuild f_qemupluginbuild f_ovs-nsh-dpdk-pluginbuild f_onosfwpluginbuild f_bgpvpn-pluginbuild f_ovsnfv-dpdk-pluginbuild f_vsperfpluginbuild
13
14 # If the BUILD_FUEL_PLUGINS environment variable is set, only build the plugins
15 # indicated therein.
16 ifdef BUILD_FUEL_PLUGINS
17 SUBDIRS = f_kscfg f_bootstrap f_repobuild $(BUILD_FUEL_PLUGINS)
18 $(warning Overriding plugin build selection to $(BUILD_FUEL_PLUGINS))
19 else
20 SUBDIRS = f_kscfg f_bootstrap f_repobuild $(PLUGINS)
21 endif
22 SUBCLEAN = $(addsuffix .clean,$(SUBDIRS))
23
24 .PHONY: all
25 all:    $(SUBDIRS)
26
27 .PHONY: $(SUBDIRS)
28 $(SUBDIRS):
29         @mkdir -p release
30         $(MAKE) -C $@ -f Makefile release
31
32 .PHONY: clean $(SUBCLEAN)
33 clean: $(SUBCLEAN)
34         @rm -Rf release
35
36 $(SUBCLEAN): %.clean:
37         $(MAKE) -C $* -f Makefile clean
38
39 .PHONY: release
40 release: $(SUBDIRS)
41         @cp -Rvp release/* ../release/isoroot
42
43 include cache.mk