diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-06-27 17:30:37 +0200 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2018-06-27 17:30:37 +0200 |
commit | 63dc51c35d26c837295ac0ef33c1b8e41353ea35 (patch) | |
tree | 24918fe062c14b29f1c69b2e024cb8d66d045c50 /conf.d/autobuild/agl | |
parent | d9bb450ee8898cb810027897a32afd3adcb05d9f (diff) |
Merge 'eel' into 'master'
Replace content from 'master' by content from 'eel' as it's the new
version based on 4a on which new development will be done.
Change-Id: I2966af7dcee59701ff3a344487c008d7e65e68ed
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'conf.d/autobuild/agl')
-rwxr-xr-x | conf.d/autobuild/agl/autobuild | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/conf.d/autobuild/agl/autobuild b/conf.d/autobuild/agl/autobuild new file mode 100755 index 0000000..ea352e7 --- /dev/null +++ b/conf.d/autobuild/agl/autobuild @@ -0,0 +1,21 @@ +#!/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 + fi + +popd + |