summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-01-18 09:08:28 +0100
committerAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-02-21 16:50:43 +0100
commit93b9c98c441ab571d1493488ab8e54115f9a04d5 (patch)
tree28544813942cce508e840024cac15bab20d7b30b /Makefile
parent029bcf3fc1f192fe9b56a0e89a5117c676f69566 (diff)
Create docker enviroment.
Change-Id: I9ead8f2517f3f461bf3fe629804b8966783eecbd Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c2814b5..71b086a 100644
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,7 @@ help:
@echo " build-scvpp - build scvpp"
@echo " build-plugins - build plugins"
@echo " build-package - build rpm or deb package"
+ @echo " docker - build sweetcomb in docker enviroment"
@echo " clean - clean all build"
@echo " distclean - remove all build directory"
$(BR)/.deps.ok:
@@ -199,6 +200,9 @@ build-scvpp:
build-plugins:
@mkdir -p $(BR)/build-plugins/;cd $(BR)/build-plugins/;cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/plugins/;make install;
+docker:
+ @build-root/scripts/docker.sh
+
build-package:
@mkdir -p $(BR)/build-scvpp/;cd $(BR)/build-scvpp;cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/scvpp/;make install;
@mkdir -p $(BR)/build-package/;cd $(BR)/build-package/;$(cmake) $(WS_ROOT)/src/;make package;rm -rf $(BR)/build-package/_CPack_Packages;