diff options
author | Pascal Brand <pascal.brand@st.com> | 2014-06-12 15:56:20 +0200 |
---|---|---|
committer | Pascal Brand <pascal.brand@st.com> | 2014-06-12 15:56:20 +0200 |
commit | b01047730e77127c23a36591643eeb8bb0487d68 (patch) | |
tree | c6460d72a0f05fb1b9655b3fb0b434ff8c7be053 /Makefile |
Open-source the TEE Core
Signed-off-by: Pascal Brand <pascal.brand@st.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..6b3358a9 --- /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 |