Merge "KVMFORNFV: Implementing kvmfornfv Scenarios."
[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 disabled for the Fuel Newton uplift. Please re-enable your plugin as you have
13 # verified it!
14 PLUGINS ?= f_ovs-nsh-dpdk-pluginbuild f_vsperfpluginbuild f_kvm-pluginbuild f_yardstick-pluginbuild f_collectd-ceilometer-pluginbuild f_congress-pluginbuild
15 export PLUGINS
16 NON_10-0_REBASED_PLUGINS = f_odlpluginbuild f_onosfwpluginbuild f_ovsnfv-dpdk-pluginbuild f_vsperfpluginbuild f_bgpvpn-pluginbuild
17
18 # If the BUILD_FUEL_PLUGINS environment variable is set, only build the plugins
19 # indicated therein.
20 # Temporarilu disabling f_repobuild that currently have some issues on
21 # Fuel Newton.
22 ifdef BUILD_FUEL_PLUGINS
23 export BUILD_FUEL_PLUGINS
24 #SUBDIRS = f_kscfg f_bootstrap f_isolinux f_repobuild $(BUILD_FUEL_PLUGINS)
25 SUBDIRS = f_kscfg f_bootstrap f_isolinux $(BUILD_FUEL_PLUGINS)
26 $(warning Overriding plugin build selection to $(BUILD_FUEL_PLUGINS))
27 else
28 #SUBDIRS = f_kscfg f_bootstrap f_isolinux f_repobuild $(PLUGINS)
29 SUBDIRS = f_kscfg f_bootstrap f_isolinux $(PLUGINS)
30 endif
31 SUBCLEAN = $(addsuffix .clean,$(SUBDIRS))
32
33 .PHONY: all
34 all:    $(SUBDIRS)
35
36 .PHONY: $(SUBDIRS)
37 $(SUBDIRS):
38         @mkdir -p release
39         $(MAKE) -C $@ -f Makefile release
40
41 .PHONY: clean $(SUBCLEAN)
42 clean: $(SUBCLEAN)
43         @rm -Rf release
44
45 $(SUBCLEAN): %.clean:
46         $(MAKE) -C $* -f Makefile clean
47
48 .PHONY: release
49 release: $(SUBDIRS)
50         @cp -Rvp release/* ../release/isoroot
51
52 include cache.mk