mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
cross-arm-none-eabi: update to 0.27 (gcc-8.2.0)
This commit is contained in:
parent
55b96c424e
commit
b290e5b09f
2 changed files with 27 additions and 38 deletions
|
@ -29,42 +29,26 @@ index b8bb4d65825..713e35b62af 100644
|
||||||
use_gcc_stdint=wrap
|
use_gcc_stdint=wrap
|
||||||
;;
|
;;
|
||||||
arm*-*-fuchsia*)
|
arm*-*-fuchsia*)
|
||||||
@@ -3787,56 +3787,6 @@ case "${target}" in
|
@@ -3899,43 +3899,6 @@
|
||||||
echo "Switch \"--with-tune\" may not be used with switch \"--with-cpu\"" 1>&2
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
-
|
|
||||||
- # Add extra multilibs
|
- # Add extra multilibs
|
||||||
- if test "x$with_multilib_list" != x; then
|
- if test "x$with_multilib_list" != x; then
|
||||||
- arm_multilibs=`echo $with_multilib_list | sed -e 's/,/ /g'`
|
- arm_multilibs=`echo $with_multilib_list | sed -e 's/,/ /g'`
|
||||||
- case ${arm_multilibs} in
|
- if test "x${arm_multilibs}" != xdefault ; then
|
||||||
- aprofile)
|
- for arm_multilib in ${arm_multilibs}; do
|
||||||
- # Note that arm/t-aprofile is a
|
- case ${arm_multilib} in
|
||||||
- # stand-alone make file fragment to be
|
- aprofile|rmprofile)
|
||||||
- # used only with itself. We do not
|
- tmake_profile_file="arm/t-multilib"
|
||||||
- # specifically use the
|
- ;;
|
||||||
- # TM_MULTILIB_OPTION framework because
|
- *)
|
||||||
- # this shorthand is more
|
- echo "Error: --with-multilib-list=${with_multilib_list} not supported." 1>&2
|
||||||
- # pragmatic.
|
- exit 1
|
||||||
- tmake_profile_file="arm/t-aprofile"
|
- ;;
|
||||||
- ;;
|
- esac
|
||||||
- rmprofile)
|
- done
|
||||||
- # Note that arm/t-rmprofile is a
|
- fi
|
||||||
- # stand-alone make file fragment to be
|
|
||||||
- # used only with itself. We do not
|
|
||||||
- # specifically use the
|
|
||||||
- # TM_MULTILIB_OPTION framework because
|
|
||||||
- # this shorthand is more
|
|
||||||
- # pragmatic.
|
|
||||||
- tmake_profile_file="arm/t-rmprofile"
|
|
||||||
- ;;
|
|
||||||
- default)
|
|
||||||
- ;;
|
|
||||||
- *)
|
|
||||||
- echo "Error: --with-multilib-list=${with_multilib_list} not supported." 1>&2
|
|
||||||
- exit 1
|
|
||||||
- ;;
|
|
||||||
- esac
|
|
||||||
-
|
-
|
||||||
- if test "x${tmake_profile_file}" != x ; then
|
- if test "x${tmake_profile_file}" != x ; then
|
||||||
- # arm/t-aprofile and arm/t-rmprofile are only
|
- # arm/t-aprofile and arm/t-rmprofile are only
|
||||||
|
@ -79,13 +63,16 @@ index b8bb4d65825..713e35b62af 100644
|
||||||
- echo "Error: You cannot use any of --with-arch/cpu/fpu/float/mode with --with-multilib-list=${with_multilib_list}" 1>&2
|
- echo "Error: You cannot use any of --with-arch/cpu/fpu/float/mode with --with-multilib-list=${with_multilib_list}" 1>&2
|
||||||
- exit 1
|
- exit 1
|
||||||
- fi
|
- fi
|
||||||
-
|
- # But pass the default value for float-abi
|
||||||
|
- # through to the multilib selector
|
||||||
|
- with_float="soft"
|
||||||
- tmake_file="${tmake_file} ${tmake_profile_file}"
|
- tmake_file="${tmake_file} ${tmake_profile_file}"
|
||||||
|
- TM_MULTILIB_CONFIG="$with_multilib_list"
|
||||||
- fi
|
- fi
|
||||||
- fi
|
- fi
|
||||||
|
target_cpu_cname=${target_cpu_cname:-arm6}
|
||||||
|
with_cpu=${with_cpu:-$target_cpu_cname}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
fr*-*-*linux*)
|
|
||||||
diff --git a/gcc/config/arm/t-mlibs b/gcc/config/arm/t-mlibs
|
diff --git a/gcc/config/arm/t-mlibs b/gcc/config/arm/t-mlibs
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 00000000000..5720cf7503d
|
index 00000000000..5720cf7503d
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'cross-arm-none-eabi'
|
# Template file for 'cross-arm-none-eabi'
|
||||||
_binutils_version=2.29.1
|
_binutils_version=2.29.1
|
||||||
_gcc_version=7.3.0
|
_gcc_version=8.2.0
|
||||||
_newlib_version=2.4.0.20161025
|
_newlib_version=2.4.0.20161025
|
||||||
|
|
||||||
_triplet=arm-none-eabi
|
_triplet=arm-none-eabi
|
||||||
_sysroot="/usr/${_triplet}"
|
_sysroot="/usr/${_triplet}"
|
||||||
|
|
||||||
pkgname=cross-${_triplet}
|
pkgname=cross-${_triplet}
|
||||||
version=0.2
|
version=0.27
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="GNU cross bare metal toolchain"
|
short_desc="GNU cross bare metal toolchain"
|
||||||
maintainer="Thomas Bernard <thomas@famillebernardgouriou.fr>"
|
maintainer="Thomas Bernard <thomas@famillebernardgouriou.fr>"
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
license="GPL-3, GPL-2, LGPL-2.1"
|
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1.0-or-later"
|
||||||
distfiles="
|
distfiles="
|
||||||
${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
|
${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
|
||||||
${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
|
${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
|
||||||
|
@ -20,7 +20,7 @@ distfiles="
|
||||||
|
|
||||||
checksum="
|
checksum="
|
||||||
1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc
|
1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc
|
||||||
832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
|
196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080
|
||||||
cbecbc637496fcec02829c12babf8441c6500eb1933c776d2fa4e0a9a35f081f"
|
cbecbc637496fcec02829c12babf8441c6500eb1933c776d2fa4e0a9a35f081f"
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
@ -33,6 +33,8 @@ create_wrksrc=yes
|
||||||
hostmakedepends="perl flex bison"
|
hostmakedepends="perl flex bison"
|
||||||
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel"
|
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel"
|
||||||
|
|
||||||
|
broken="Does not build; some stage says hard-float support is required. Assigned to @teajay-fr"
|
||||||
|
|
||||||
_apply_patch() {
|
_apply_patch() {
|
||||||
local args="$1" pname="$(basename $2)"
|
local args="$1" pname="$(basename $2)"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue