build and deploy onos plugin for fuel9
[fuel.git] / build / f_isoroot / f_bootstrap / 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 TOP := $(shell pwd)
12
13 .PHONY: all
14 all:
15         @mkdir -p release/opnfv/bootstrap/pre.d
16         @mkdir -p release/opnfv/bootstrap/post.d
17         @mkdir -p release/usr/local/sbin
18         @cp pre-scripts/* release/opnfv/bootstrap/pre.d
19         @cp post-scripts/* release/opnfv/bootstrap/post.d
20
21 .PHONY: clean
22 clean:
23         @rm -rf release
24
25 .PHONY: release
26 release:all
27         @cp -Rvp release/* ../release
28
29 #############################################################################
30 # Cache operations - only used when building through ci/build.sh
31 #############################################################################
32
33 # Clean local data related to caching - called prior to ordinary build
34 .PHONY: clean-cache
35 clean-cache: clean
36         @echo "clean-cache not implemented"
37
38 # Try to download cache - called prior to ordinary build
39 .PHONY: get-cache
40 get-cache:
41         @echo "get-cache not implemented"
42
43 # Store cache if not already stored - called after ordinary build
44 .PHONY: put-cache
45 put-cache:
46         @echo "put-cache not implemented"