added additional target arm64-linux [release 2.39-2mamba;Thu Oct 06 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:48:11 +01:00
parent 0546416c8a
commit 2d29f2c54a

View File

@ -8,7 +8,7 @@
Name: binutils
Version: 2.39
Release: 1mamba
Release: 2mamba
Summary: GNU Binary Utility Development Utilities
Group: Development/Tools
Vendor: openmamba
@ -32,6 +32,13 @@ Patch11: binutils-2.31.1-revert-PR-23161.patch
Patch12: binutils-2.37-upstream_fix_ld_malfomed_archive.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libelf-devel
BuildRequires: libfl-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: bison >= 2.5
Requires: libbinutils = %{version}-%{release}
@ -119,7 +126,7 @@ case %{target_cpu} in
i*86 | athlon*)
TARGETS="\
--enable-64bit-bfd \
--enable-targets=x86_64-linux,powerpc-linux,powerpc64-linux,arm-linux,armelf-linux-eabi"
--enable-targets=x86_64-linux,powerpc-linux,powerpc64-linux,arm-linux,armelf-linux-eabi,arm64-linux"
;;
ppc | powerpc)
# disable shared build for cross platform binutils because it is a big-endian platform and complain about
@ -133,7 +140,12 @@ case %{target_cpu} in
;;
arm)
TARGETS="\
--enable-targets=powerpc-linux,powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi"
--enable-targets=powerpc-linux,powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi,arm64-linux"
#--with-lib-path=%{_prefix}/%{_target_platform}/lib:%{_prefix}/%{_target_platform}/lib/be:%{_prefix}/%{_target_platform}/lib/soft-float:%{_prefix}/%{_target_platform}/lib/be/soft-float"
;;
aarch64)
TARGETS="\
--enable-targets=powerpc-linux,powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi,arm64-linux"
#--with-lib-path=%{_prefix}/%{_target_platform}/lib:%{_prefix}/%{_target_platform}/lib/be:%{_prefix}/%{_target_platform}/lib/soft-float:%{_prefix}/%{_target_platform}/lib/be/soft-float"
;;
avr)
@ -143,11 +155,11 @@ case %{target_cpu} in
x86_64)
TARGETS="\
--enable-64bit-bfd \
--enable-targets=i386-linux,powerpc-linux,powerpc64-linux,arm-linux,armelf-linux-eabi,x86_64-pep"
--enable-targets=i386-linux,powerpc-linux,powerpc64-linux,arm-linux,armelf-linux-eabi,arm64-linux,x86_64-pep"
;;
*)
TARGETS="\
--enable-targets=powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi"
--enable-targets=powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi,arm64-linux"
;;
esac
@ -406,10 +418,8 @@ exit 0
%{_libdir}/libopcodes.*a
%{_libdir}/libopcodes.so
%{_libdir}/libctf-nobfd.a
%{_libdir}/libctf-nobfd.la
%{_libdir}/libctf-nobfd.so
%{_libdir}/libctf.a
%{_libdir}/libctf.la
%{_libdir}/libctf.so
%if "%gprof" == "1"
%{_libdir}/gprofng/libgprofng.so
@ -430,6 +440,9 @@ exit 0
%endif
%changelog
* Thu Oct 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.39-2mamba
- added additional target arm64-linux
* Mon Aug 08 2022 Automatic Build System <autodist@mambasoft.it> 2.39-1mamba
- automatic version update by autodist