Added support for building DSM 7 preview

This commit is contained in:
Andreas Runfalk 2020-12-30 15:27:04 +01:00
parent e3178f8c3c
commit d7cda29156
2 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@ else
cd / cd /
fi fi
# Temporary add support for 7.0 (until the official repo is updated)
grep -q '^AvailablePlatform_7_0=' /pkgscripts-ng/include/toolkit.config || \
echo 'AvailablePlatform_7_0="6281 alpine alpine4k apollolake armada370 armada375 armada37xx armada38x armadaxp avoton braswell broadwell broadwellnk bromolow cedarview comcerto2k denverton dockerx64 evansport geminilake grantley hi3535 kvmx64 monaco purley qoriq rtd1296 v1000 x64"' >> /pkgscripts-ng/include/toolkit.config
# Install the toolchain for the given package arch and DSM version # Install the toolchain for the given package arch and DSM version
build_env="/build_env/ds.$PACKAGE_ARCH-$DSM_VER" build_env="/build_env/ds.$PACKAGE_ARCH-$DSM_VER"

View File

@ -57,7 +57,7 @@ for arch in ${ARCHS[@]}; do
--rm \ --rm \
--privileged \ --privileged \
--env PACKAGE_ARCH=$arch \ --env PACKAGE_ARCH=$arch \
--env DSM_VER=6.2 \ --env DSM_VER=$VER \
-v $(pwd)/artifacts:/result_spk \ -v $(pwd)/artifacts:/result_spk \
-v $(pwd)/toolkit_tarballs:/toolkit_tarballs \ -v $(pwd)/toolkit_tarballs:/toolkit_tarballs \
synobuild synobuild