Accepting request 84478 from Base:build:arm

add arm support

OBS-URL: https://build.opensuse.org/request/show/84478
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=67
This commit is contained in:
Richard Biener 2011-09-26 09:45:39 +00:00 committed by Git OBS Bridge
parent da09f347b2
commit 6bcb6c817c
31 changed files with 582 additions and 88 deletions

29
arm-ld-12643.diff Normal file
View File

@ -0,0 +1,29 @@
--- ld/configure.tgt
+++ ld/configure.tgt
@@ -71,7 +71,7 @@
arm*-*-symbianelf*) targ_emul=armsymbian;;
arm-*-kaos*) targ_emul=armelf ;;
arm9e-*-elf) targ_emul=armelf ;;
-arm*b-*-linux-*eabi) targ_emul=armelfb_linux_eabi
+arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi
targ_extra_emuls=armelf_linux_eabi
targ_extra_libpath=$targ_extra_emuls
;;
@@ -79,7 +79,7 @@
targ_extra_emuls="armelfb armelf armelf_linux"
targ_extra_libpath="armelf_linux"
;;
-arm*-*-linux-*eabi) targ_emul=armelf_linux_eabi
+arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi
targ_extra_emuls=armelfb_linux_eabi
targ_extra_libpath=$targ_extra_emuls
;;
@@ -87,7 +87,7 @@
targ_extra_emuls="armelf armelfb armelfb_linux"
targ_extra_libpath="armelfb_linux"
;;
-arm*-*-uclinux*eabi) targ_emul=armelf_linux_eabi
+arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi
targ_extra_emuls=armelfb_linux_eabi
targ_extra_libpath=$targ_extra_emuls
;;

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -289,7 +290,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -316,6 +321,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -354,6 +360,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -379,9 +394,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -409,6 +422,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-alpha-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-alpha-binutils
Name: cross-alpha-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-arm-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-arm-binutils
Name: cross-arm-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-hppa-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-hppa-binutils
Name: cross-hppa-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-hppa64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-hppa64-binutils
Name: cross-hppa64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-i386-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-i386-binutils
Name: cross-i386-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-ia64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-ia64-binutils
Name: cross-ia64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-mips-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-mips-binutils
Name: cross-mips-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-ppc-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-ppc-binutils
Name: cross-ppc-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-ppc64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-ppc64-binutils
Name: cross-ppc64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-s390-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-s390-binutils
Name: cross-s390-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-s390x-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-s390x-binutils
Name: cross-s390x-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-sparc-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-sparc-binutils
Name: cross-sparc-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-spu-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-spu-binutils
Name: cross-spu-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de
- use -gnueabi extension to switch to new abi for arm
-------------------------------------------------------------------
Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de
- Add support for arm-*-gnueabihf targets (PR ld/12643)
-------------------------------------------------------------------
Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de
- add arm targets
-------------------------------------------------------------------
Mon Aug 29 08:09:15 UTC 2011 - rguenther@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package binutils
# spec file for package cross-x86_64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,7 +17,7 @@
Name: cross-x86_64-binutils
Name: cross-x86_64-binutils
BuildRequires: bison dejagnu flex gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
@ -53,12 +53,12 @@ Release: 10
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list alpha arm hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@ -99,6 +99,7 @@ Patch20: bso12982.diff
# Too much fallout for now
#Patch21: binutils-no-copy-dt-needed-default.patch
Patch22: bnc713504.diff
Patch23: arm-ld-12643.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -261,7 +262,11 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
@ -288,6 +293,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch20 -p1
#%patch21
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -326,6 +332,15 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
@ -348,9 +363,7 @@ make %{?_smp_mflags}
%check
export SUSE_ASNEEDED=0
cd build-dir
%ifnarch %arm
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%endif
#
#
#
@ -378,6 +391,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else