summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis.sh14
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index 8a97f5bbc..47754727b 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -1,11 +1,5 @@
#!/bin/bash
-
-for system in $(grep "config ADK_TARGET" target/*/systems/*|awk -F: '{ print $1 }'); do
- system=$(echo $system|sed -e "s#ADK_TARGET_SYSTEM_##")
- system=$(echo $system|tr '[:upper:]' '[:lower:]')
- arch=$(echo $system|awk -F/ '{ print $2 }')
- system=$(echo $system|awk -F/ '{ print $4 }')
- make ADK_TARGET_OS=Linux ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new defconfig
- make
- make cleansystem
-done
+arch=$1
+system=$2
+make ADK_TARGET_OS=Linux ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new defconfig
+make