Add nextthing boards
add chip, chippro and pocketchip
This commit is contained in:
parent
1372ebb073
commit
e5f3a21383
44 changed files with 12876 additions and 0 deletions
14
board/nextthing/chippro/upload_source.sh
Normal file
14
board/nextthing/chippro/upload_source.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
BRANCH=$(git symbolic-ref -q HEAD)
|
||||
BRANCH=${BRANCH##refs/heads/chip/}
|
||||
BRANCH=${BRANCH##refs/heads/nextthing/*/}
|
||||
|
||||
BUILD_NUMBER=$1
|
||||
S3_DEST=s3://opensource.nextthing.co/chip/buildroot/${BRANCH}
|
||||
|
||||
tar czf /tmp/CHIP-buildroot-build${BUILD_NUMBER}.tar.gz ../build || exit $?
|
||||
|
||||
s3cmd put --acl-public --no-guess-mime-type /tmp/CHIP-buildroot-build${BUILD_NUMBER}.tar.gz ${S3_DEST}/${BUILD_NUMBER}/build${BUILD_NUMBER}.tar.gz || exit $?
|
||||
|
||||
rm /tmp/CHIP-buildroot-build${BUILD_NUMBER}.tar.gz || exit $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue