mirror of
https://github.com/AuxXxilium/synology-wireguard.git
synced 2024-11-23 23:11:06 +07:00
Added support for building DSM 7 preview
This commit is contained in:
parent
e3178f8c3c
commit
d7cda29156
4
build.sh
4
build.sh
@ -41,6 +41,10 @@ else
|
||||
cd /
|
||||
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
|
||||
build_env="/build_env/ds.$PACKAGE_ARCH-$DSM_VER"
|
||||
|
||||
|
@ -57,7 +57,7 @@ for arch in ${ARCHS[@]}; do
|
||||
--rm \
|
||||
--privileged \
|
||||
--env PACKAGE_ARCH=$arch \
|
||||
--env DSM_VER=6.2 \
|
||||
--env DSM_VER=$VER \
|
||||
-v $(pwd)/artifacts:/result_spk \
|
||||
-v $(pwd)/toolkit_tarballs:/toolkit_tarballs \
|
||||
synobuild
|
||||
|
Loading…
Reference in New Issue
Block a user