summaryrefslogtreecommitdiff
path: root/scripts/travis.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 20:09:30 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 20:09:30 +0200
commit0c89b0a5942e29cc6434e3b8929451573b393ee8 (patch)
treebc5fda7ebfef285e2d0bcc824f95a6f34997355d /scripts/travis.sh
parent69ccbb2c9af2ebb0e591da1e55737783c560f9f1 (diff)
travis: try with matrix here, too
Diffstat (limited to 'scripts/travis.sh')
-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