diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rwxr-xr-x | scripts/travis.sh | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 78154af29..1f40a6ada 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ matrix: - env: ARCH=cris SYSTEM=foxboard-lx832 - env: ARCH=m68k SYSTEM=aranym-m68k - env: ARCH=mips SYSTEM=imgtec-ci20 - - env: ARCH=mips SYSTEM=mikrotik-rb4xx + - env: ARCH=mips SYSTEM=mikrotik-rb4xx ENDIAN=big - env: ARCH=mips SYSTEM=mikrotik-rb532 - env: ARCH=mips64 SYSTEM=lemote-yeelong - env: ARCH=nds32 SYSTEM=andes-ag101p @@ -22,4 +22,4 @@ matrix: - env: ARCH=x86_64 SYSTEM=pcengines-apu - env: ARCH=x86_64 SYSTEM=asus-p5bvm - env: ARCH=xtensa SYSTEM=xilinx-kintex7 -script: ./scripts/travis.sh $ARCH $SYSTEM +script: ./scripts/travis.sh $ARCH $SYSTEM $ENDIAN 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 |