summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index d62ed5e7e..648533cc9 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -1,9 +1,10 @@
#!/bin/bash
-arch=$1
-system=$2
-vars="ADK_TARGET_OS=Linux ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new"
-if [ ! -z $3 ]; then
- endian=$3
+os=$1
+arch=$2
+system=$3
+vars="ADK_TARGET_OS=$os ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new"
+if [ ! -z $4 ]; then
+ endian=$4
vars="$vars ADK_TARGET_ENDIAN=$endian"
fi
make $vars defconfig