From e5f6618dea0522c679c4526b56849f740fc5e7fc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Oct 2016 19:00:35 +0200 Subject: travis: add optional endian param --- scripts/travis.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3