diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-22 19:00:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-22 19:00:35 +0200 |
commit | e5f6618dea0522c679c4526b56849f740fc5e7fc (patch) | |
tree | 64494599980c85910605e0f23bfbec21ac71ba4e /scripts | |
parent | 3805a1b779ea4efd49f73a1c8517ee7b349a87e3 (diff) |
travis: add optional endian param
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis.sh | 7 |
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 |