Merge "inital Makefile struct with bm metal3" into dev/icn-v0.1.0
[icn.git] / Makefile
index e69de29..567ea2e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -0,0 +1,12 @@
+SHELL:=/bin/bash
+BMDIR:=$(CURDIR)/env/metal3
+METAL3DIR:=$(CURDIR)/deploy/metal3/scripts
+all: bm_install
+
+bm_preinstall:
+       pushd $(BMDIR) && ./01_install_package.sh && ./02_configure.sh && ./03_launch_prereq.sh && popd
+
+bm_install:
+       pushd $(METAL3DIR) && ./metal3.sh && popd 
+
+.PHONY: all bm_preinstall bm_install