Open-source the TEE Core

Signed-off-by: Pascal Brand <pascal.brand@st.com>
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6b3358a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,41 @@
+SHELL = /bin/bash
+
+.PHONY: all
+all:
+
+# Make these default for now
+ARCH            ?= arm32
+PLATFORM        ?= orly2
+O		?= out/$(ARCH)-plat-$(PLATFORM)
+
+arch_$(ARCH)	:= y
+
+cmd-fixdep	:= ./scripts/fixdep
+
+ifneq ($O,)
+out-dir := $O/
+endif
+
+ifneq ($V,1)
+q := @
+cmd-echo := true
+else
+q :=
+cmd-echo := echo
+endif
+
+include core/core.mk
+
+include ta/ta.mk
+
+.PHONY: clean
+clean:
+	@echo Cleaning
+	${q}rm -f $(cleanfiles)
+
+.PHONY: cscope
+cscope:
+	@echo Creating cscope database
+	${q}rm -f cscope.*
+	${q}find $(PWD) -name "*.[chSs]" > cscope.files
+	${q}cscope -b -q -k