From f17f20f028ac5f033ae106261cf36aa8438fd19d Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 5 Jul 2019 08:38:00 -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: I03b9c2dee65d20c11d0c4b90ca9817bd3d53f255 --- autobuild/agl/autobuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 autobuild/agl/autobuild (limited to 'autobuild/agl/autobuild') 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