scripts: add compile scripts to the top dir. [1/1]

PD#SWPL-29645

Problem:
easy to compile.

Solution:
add compile scritps to the top dir.

Verify:
sc2_ah219.

Change-Id: I7a0a4a338e15cfe3be5217512c7925d63e1b4f63
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
diff --git a/mk b/mk
new file mode 100755
index 0000000..3a46cef
--- /dev/null
+++ b/mk
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+function move_output_to_top_dir() {
+	if [ -f bl30.bin ]
+	then
+		rm bl30.bin
+	fi
+
+	if [ -f demos/amlogic/${arch_dir}/${board}/gcc/RTOSDemo.bin ]
+	then
+		cp demos/amlogic/${arch_dir}/${board}/gcc/RTOSDemo.bin ./bl30.bin
+	fi
+}
+
+source scripts/amlogic/mk.sh $1
+move_output_to_top_dir