- Enable PRU architecture for AM335x platforms

Rev devel:gcc/47 Md5 88c37a42120ee7f4de03196f23ec7e9a 2022-05-16 07:42:49 rguenther 977233
This commit is contained in:
OBS User rguenther
2022-05-16 07:42:49 +00:00
committed by Git OBS Bridge
parent fbdc10c41b
commit 592d9fddbb
33 changed files with 2017 additions and 28 deletions

View File

@@ -62,7 +62,7 @@
%define binutils_target sparc
%endif
%define canonical_target %(echo %{binutils_target} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%if "%{binutils_target}" == "avr" || "%{binutils_target}" == "spu"
%if "%{binutils_target}" == "avr" || "%{binutils_target}" == "spu" || "%{binutils_target}" == "pru"
%define binutils_os %{canonical_target}
%else
%if "%{binutils_target}" == "epiphany" || "%{binutils_target}" == "nds32le" || "%{binutils_target}" == "rl78" || "%{binutils_target}" == "rx"