Browse Source

travis: check waldux

Waldemar Brodkorb 3 years ago
parent
commit
d5193809c1
2 changed files with 7 additions and 6 deletions
  1. 1 1
      .travis.yml
  2. 6 5
      scripts/travis.sh

+ 1 - 1
.travis.yml

@@ -31,4 +31,4 @@ matrix:
   - env: ARCH=x86_64 SYSTEM=pcengines-apu
   - env: ARCH=x86_64 SYSTEM=asus-p5bvm
   - env: ARCH=xtensa SYSTEM=xilinx-kintex7
-script: travis_wait 120 ./scripts/travis.sh $ARCH $SYSTEM $ENDIAN
+script: travis_wait 120 ./scripts/travis.sh waldux $ARCH $SYSTEM $ENDIAN

+ 6 - 5
scripts/travis.sh

@@ -1,9 +1,10 @@
 #!/bin/bash
-arch=$1
-system=$2
-vars="ADK_TARGET_OS=Linux ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new"
-if [ ! -z $3 ]; then
- endian=$3
+os=$1
+arch=$2
+system=$3
+vars="ADK_TARGET_OS=$os ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new"
+if [ ! -z $4 ]; then
+ endian=$4
  vars="$vars ADK_TARGET_ENDIAN=$endian"
 fi
 make $vars defconfig