diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-09 16:26:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-09 16:26:38 +0200 |
commit | a50d8d1f7b7ac4558b3368f10fd15937a6514e95 (patch) | |
tree | 542c251836dd2af8dbaad8580e9ac5075f1aa00b /scripts | |
parent | fcfd587483820206079cc61738883a5ab74b6b61 (diff) |
we give travis a try :)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/travis.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh new file mode 100644 index 000000000..8a97f5bbc --- /dev/null +++ b/scripts/travis.sh @@ -0,0 +1,11 @@ +#!/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 |