# disabled: mips, sparc, alpha
if test "$do_icecream" = 1 ; then
- for arch in i386 x86_64 armv7hl armv7l; do
+ for arch in i386 x86_64 armv7hl armv7l aarch64; do
exclarch=`echo $arch | sed -e 's/ppc$/ppc64/'`
{ sed -n -e '1,/COMMON-BEGIN/p' cross-icecream.spec.in
sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' $outfile
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif
%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
%define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
%endif
+%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
+%define CONFIGURE_TARGET aarch64-tizen-linux-gnueabi
+%endif
%else
%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%endif