diff options
Diffstat (limited to 'scripts/setup-environment.sh')
| -rwxr-xr-x | scripts/setup-environment.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index 2ff9e29..92e75aa 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
| @@ -40,13 +40,13 @@ if [ "$(basename $0)" = "${THIS_SCRIPT}" ]; then | |||
| 40 | exit 1 | 40 | exit 1 |
| 41 | fi | 41 | fi |
| 42 | 42 | ||
| 43 | BUILDDIR=${BUILDDIR:-build-${MACHINE}} | ||
| 44 | |||
| 45 | if [ -z "$MACHINE" ]; then | 43 | if [ -z "$MACHINE" ]; then |
| 46 | echo "Error: MACHINE environment variable not defined" | 44 | echo "Error: MACHINE environment variable not defined" |
| 47 | return 1 | 45 | return 1 |
| 48 | fi | 46 | fi |
| 49 | 47 | ||
| 48 | BUILDDIR=${BUILDDIR:-build-${MACHINE}} | ||
| 49 | |||
| 50 | if [ ! -f ${PWD}/${BUILDDIR}/conf/bblayers.conf ]; then | 50 | if [ ! -f ${PWD}/${BUILDDIR}/conf/bblayers.conf ]; then |
| 51 | case ${MACHINE} in | 51 | case ${MACHINE} in |
| 52 | apalis-imx6) | 52 | apalis-imx6) |
