
1. Pre-requirements
1.1. Blowfish installed on the device: secure-kernel, secure libraries, client library, tzdaemon and other neccessary files.
     Tzdaemon is running.
1.2. Android NDK installed on build machine.
1.3. Prepared Secure toolchain installed on build machine.

2. Setup build environment in <PROJECT ROOT>/config.mk file
2.1. Set path to secure toolchain in variable CONFIG_SW_TOOLCHAIN_PATH
2.3. Set root path to Android NDK in variable CONFIG_NDK_ROOT
2.2. Set path to Android NDK toolchain prefix in variable CONFIG_NW_TOOLCHAIN_PREFIX
2.3. Set root path to Android NDK sysroot in variable CONFIG_NW_SYSROOT
2.4. Set path to TA authority scripts in variable CONFIG_TA_AUTH
2.5. Set target client application name in variable CONFIG_TARGET_CA_NAME
2.6. Set target TA name in variable CONFIG_TARGET_TA_NAME
2.6. Set debug variable CONFIG_DEBUG ( on or off )
2.6. Set target NW OS variable CONFIG_TARGET_ENV ( android or tizen )
2.6. Set target NW architecture variable CONFIG_NW_TARGET ( ARM or AARCH64)

3. Build Project
   "<PROJECT ROOT>/build.sh all" - build client, handler and TA
   "<PROJECT ROOT>/build.sh clean" - clean all output and temp files
   "<PROJECT ROOT>/build.sh rebuild" - rebuild project
Output files will be located in "<PROJECT ROOT>/dist/" folder

4. Push files to device
   "<PROJECT ROOT>/push.sh all" - push client and TA to /vendor/teetc/ folder on device.
