Update .ci/prepare_build_dir.sh, .ci/build_pkgs.sh, .ci/download_sdk.sh files

This commit is contained in:
Martin/Geno 2019-02-26 15:12:47 +01:00
parent b0d402b80b
commit ce0b32e5fb
3 changed files with 15 additions and 5 deletions

View File

@ -1,5 +1,6 @@
cd /builds/$CI_PROJECT_PATH/wireless/ OPWD=$PWD
PKGS=$(ls)
PKGS=$(ls wireless/)
cd tmp/build_dir cd tmp/build_dir
@ -32,3 +33,5 @@ for PKG in $PKGS ; do
echo "===+ Building: $PKG" echo "===+ Building: $PKG"
make "package/$PKG/compile" -j3 V=s make "package/$PKG/compile" -j3 V=s
done done
cd $OPWD

View File

@ -1,3 +1,5 @@
OPWD=$PWD
mkdir tmp/sdk mkdir tmp/sdk
cd tmp/sdk cd tmp/sdk
@ -6,3 +8,5 @@ curl "https://$SDK_HOST/$SDK_PATH/sha256sums.asc" -sS -o sha256sums.asc
gpg --with-fingerprint --verify sha256sums.asc sha256sums gpg --with-fingerprint --verify sha256sums.asc sha256sums
rsync -av "$SDK_HOST::downloads/$SDK_PATH/$SDK_FILE" . rsync -av "$SDK_HOST::downloads/$SDK_PATH/$SDK_FILE" .
sha256sum -c --ignore-missing sha256sums sha256sum -c --ignore-missing sha256sums
cd $OPWD

View File

@ -1,3 +1,4 @@
OPWD=$PWD
mkdir tmp/build_dir mkdir tmp/build_dir
cd tmp/build_dir cd tmp/build_dir
@ -20,3 +21,5 @@ cat feeds.conf
make defconfig > /dev/null make defconfig > /dev/null
sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config
cd $OPWD