#!/bin/bash
set -e

# FRT templates arm32v6
scons production=yes tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v6 frt_cross=auto "$@"
scons production=yes tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v6 frt_cross=auto "$@"

# FRT SDL templates arm32v6
scons production=yes tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v6 frt_cross=auto "$@"
scons production=yes tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v6 frt_cross=auto "$@"

# FRT templates arm32v7
scons production=yes tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v7 frt_cross=auto "$@"
scons production=yes tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v7 frt_cross=auto "$@"

# FRT SDL templates arm32v7
scons production=yes tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v7 frt_cross=auto "$@"
scons production=yes tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v7 frt_cross=auto "$@"