cross-aarch64-linux-musl: update binutils-2.29

This commit is contained in:
Jürgen Buchmüller 2017-08-07 20:35:37 +02:00
parent fc0a02fe06
commit 9150a647d3

View file

@ -1,6 +1,6 @@
# Template build file for 'cross-aarch64-linux-musl'
#
_binutils_version=2.28
_binutils_version=2.29
_gcc_version=6.3.0
_musl_version=1.1.16
_linux_version=4.9.8
@ -11,7 +11,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.23
revision=3
revision=4
short_desc="Cross toolchain for ARM64 LE target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -22,7 +22,7 @@ distfiles="
${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz
http://www.musl-libc.org/releases/musl-${_musl_version}.tar.gz"
checksum="
6297433ee120b11b4b0a1c8f3512d7d73501753142ab9e2daa13c5a3edd32a72
29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf
f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f
150bb7f2dd4849b5d21b8ccd8d05294a48229e1fcb93a22e7b806a79ec0b0e45
937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011"
@ -65,6 +65,7 @@ _binutils_build() {
_args+=" --disable-multilib"
_args+=" --disable-werror"
_args+=" --disable-shared"
_args+=" --with-system-zlib"
../binutils-${_binutils_version}/configure ${_args}
@ -234,6 +235,9 @@ do_install() {
cd ${wrksrc}/gcc-build
make DESTDIR=${DESTDIR} install
# move libcc1.so* to the sysroot
mv ${DESTDIR}/usr/lib/libcc1.so* ${DESTDIR}/${_sysroot}/usr/lib
# install musl libc for target
cd ${wrksrc}/musl-${_musl_version}
make DESTDIR=${DESTDIR}/${_sysroot} install