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 ifdef BUILD_FUEL_PLUGINS
17 #SUBDIRS = f_kscfg f_bootstrap f_isolinux f_repobuild $(BUILD_FUEL_PLUGINS)
18 SUBDIRS = f_kscfg f_bootstrap f_isolinux $(BUILD_FUEL_PLUGINS)
19 $(warning Overriding plugin build selection to $(BUILD_FUEL_PLUGINS))
20 else
21 #SUBDIRS = f_kscfg f_bootstrap f_isolinux f_repobuild $(PLUGINS)
22 SUBDIRS = f_kscfg f_bootstrap f_isolinux $(PLUGINS)
23 endif
24 SUBCLEAN = $(addsuffix .clean,$(SUBDIRS))
25
26 .PHONY: all
27 all:    $(SUBDIRS)
28
29 .PHONY: $(SUBDIRS)
30 $(SUBDIRS):
31         @mkdir -p release
32         $(MAKE) -C $@ -f Makefile release
33
34 .PHONY: clean $(SUBCLEAN)
35 clean: $(SUBCLEAN)
36         @rm -Rf release
37
38 $(SUBCLEAN): %.clean:
39         $(MAKE) -C $* -f Makefile clean
40
41 .PHONY: release
42 release: $(SUBDIRS)
43         @cp -Rvp release/* ../release/isoroot
44
45 include cache.mk