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