Update compile script
a). sync build script from g12a repo
b). sync tools with trunk
c). add txhd support
Change-Id: Id47b48711cdfe2371b047ad3203327eb28a29f9c
diff --git a/variables.sh b/variables.sh
new file mode 100755
index 0000000..c12a640
--- /dev/null
+++ b/variables.sh
@@ -0,0 +1,29 @@
+
+declare UBOOT_SRC_FOLDER="bl33"
+declare MAIN_FOLDER=""
+export UBOOT_SRC_FOLDER MAIN_FOLDER
+
+# build environment
+BUILD_FOLDER="build/"
+FIP_FOLDER="fip/"
+MANIFEST=".repo/manifest.xml"
+FIP_BUILD_FOLDER="fip/build/"
+
+# include uboot pre-build defines
+SOURCE_FILE=("bl33/build/.config")
+CONFIG_FILE=("bl33/build/include/autoconf.mk")
+
+# variables
+declare BOARD_DIR=""
+declare CUR_SOC=""
+
+# current branch/path/rev/name/remote in xml
+declare -a GIT_INFO=("branch", "path", "rev", "name", "remote")
+
+function export_variables() {
+ export BUILD_FOLDER
+ export FIP_FOLDER
+ export MANIFEST
+ export CUR_SOC
+ export BOARD_DIR
+}
\ No newline at end of file