From adab62cc782bdf06da5c0ffe521c67544f934f9a Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 5 Jul 2019 08:48:43 -0400 Subject: Introduce autobuild scripts Add agl and linux autobuild scripts to silence build warnings. These 2 scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Signed-off-by: Scott Murray Change-Id: Ia2f785e1e3e8c3635a9a8a6966f694c3208a2d22 --- autobuild/agl/autobuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 autobuild/agl/autobuild (limited to 'autobuild/agl') diff --git a/autobuild/agl/autobuild b/autobuild/agl/autobuild new file mode 100755 index 0000000..883293d --- /dev/null +++ b/autobuild/agl/autobuild @@ -0,0 +1,22 @@ +#!/bin/bash + +SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../../../" +BUILD_DIR=$( echo "$2" | cut -d'=' -f2 ) + +# HACK: alias should be expanded in script for cmake to work properly +shopt -s expand_aliases +# HACK: source again the SDK because of the alias +source $SDKTARGETSYSROOT/../../environment-setup-* + +pushd $BUILD_DIR + + cmake $SOURCE_DIR + make + + if [ "$1" == "package" ]; then + make widget + cp *.wgt package/ + fi + +popd + -- cgit 1.2.3-korg