Merge "Turn on fuelmenu by default, turn off biosdevname"
[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 # Temporarilu disabling f_repobuild that currently have some issues on
17 # Fuel 8.
18 ifdef BUILD_FUEL_PLUGINS
19 #SUBDIRS = f_kscfg f_bootstrap f_isolinux f_repobuild $(BUILD_FUEL_PLUGINS)
20 SUBDIRS = f_kscfg f_bootstrap f_isolinux $(BUILD_FUEL_PLUGINS)
21 $(warning Overriding plugin build selection to $(BUILD_FUEL_PLUGINS))
22 else
23 #SUBDIRS = f_kscfg f_bootstrap f_isolinux f_repobuild $(PLUGINS)
24 SUBDIRS = f_kscfg f_bootstrap f_isolinux $(PLUGINS)
25 endif
26 SUBCLEAN = $(addsuffix .clean,$(SUBDIRS))
27
28 .PHONY: all
29 all:    $(SUBDIRS)
30
31 .PHONY: $(SUBDIRS)
32 $(SUBDIRS):
33         @mkdir -p release
34         $(MAKE) -C $@ -f Makefile release
35
36 .PHONY: clean $(SUBCLEAN)
37 clean: $(SUBCLEAN)
38         @rm -Rf release
39
40 $(SUBCLEAN): %.clean:
41         $(MAKE) -C $* -f Makefile clean
42
43 .PHONY: release
44 release: $(SUBDIRS)
45         @cp -Rvp release/* ../release/isoroot
46
47 include cache.mk