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/
PKGS=$(ls)
OPWD=$PWD
PKGS=$(ls wireless/)
cd tmp/build_dir
@ -31,4 +32,6 @@ done
for PKG in $PKGS ; do
echo "===+ Building: $PKG"
make "package/$PKG/compile" -j3 V=s
done
done
cd $OPWD

View File

@ -1,3 +1,5 @@
OPWD=$PWD
mkdir tmp/sdk
cd tmp/sdk
@ -5,4 +7,6 @@ curl "https://$SDK_HOST/$SDK_PATH/sha256sums" -sS -o sha256sums
curl "https://$SDK_HOST/$SDK_PATH/sha256sums.asc" -sS -o sha256sums.asc
gpg --with-fingerprint --verify sha256sums.asc sha256sums
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
cd tmp/build_dir
@ -19,4 +20,6 @@ cat feeds.conf
./scripts/feeds install -a > /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