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
22
board/nextthing/chip/post-build.sh
Normal file
22
board/nextthing/chip/post-build.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
TARGET_DIR=$1
|
||||
|
||||
BRANCH=$(git symbolic-ref -q HEAD)
|
||||
BRANCH=${BRANCH##refs/heads/chip/}
|
||||
BRANCH=${BRANCH##refs/heads/nextthing/*/}
|
||||
|
||||
BUILDROOT_GITHASH="$(cat buildroot_githash)"
|
||||
BUILDROOT_GITHASH="${BUILDROOT_GITHASH:0:8}"
|
||||
|
||||
BUILD="$(cat build)"
|
||||
|
||||
cat <<EOF >${TARGET_DIR}/etc/issue
|
||||
Welcome to CHIP Buildroot-${BRANCH} build ${BUILD} rev ${BUILDROOT_GITHASH}
|
||||
|
||||
CHIP Buildroot contains various open source software.
|
||||
|
||||
The source code can be downloaded from:
|
||||
http://opensource.nextthing.co/chip/buildroot/${BRANCH}/${BUILD}/build${BUILD}.tar.gz
|
||||
|
||||
EOF
|
||||
Loading…
Add table
Add a link
Reference in a new issue