From c528674145287d49ce3a655c6397914cbf61b551 Mon Sep 17 00:00:00 2001 From: Mark Salter Date: Mon, 4 Mar 2013 12:30:16 -0500 Subject: AArch64 support v2 Here is my updated patch adding AArch64 support. The main change was to use CANONCOLOR=3 rather than 2. --Mark Change-Id: I79e397534d25a4ef4d293222c4cbd415a8fcd6b5 Signed-off-by: Panu Matilainen Signed-off-by: Chanho Park --- installplatform | 6 ++++++ rpmrc.in | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/installplatform b/installplatform index a68b3c06a..f5378d899 100755 --- a/installplatform +++ b/installplatform @@ -101,6 +101,12 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do CANONARCH=alpha CANONCOLOR=0 ;; + aarch64) + ISANAME=aarch + ISABITS=64 + CANONARCH=aarch64 + CANONCOLOR=3 + ;; noarch) CANONARCH=noarch CANONCOLOR=0 diff --git a/rpmrc.in b/rpmrc.in index a4b6e1e34..30481b24c 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -85,6 +85,8 @@ optflags: sh3 -O2 -g optflags: sh4 -O2 -g -mieee optflags: sh4a -O2 -g -mieee +optflags: aarch64 -O2 -g + ############################################################# # Architecture colors @@ -118,6 +120,8 @@ archcolor: x86_64 2 archcolor: sh3 1 archcolor: sh4 1 +archcolor: aarch64 2 + ############################################################# # Canonical arch names and numbers @@ -202,6 +206,7 @@ arch_canon: sh3: sh3 17 arch_canon: sh4: sh4 17 arch_canon: sh4a: sh4a 17 arch_canon: xtensa: xtensa 18 +arch_canon: aarch64: aarch64 19 ############################################################# # Canonical OS names and numbers @@ -320,6 +325,7 @@ buildarchtranslate: armv5l: armv4l buildarchtranslate: armv5tel: armv4l buildarchtranslate: armv5b: armv4b buildarchtranslate: armv5teb: armv4b +buildarchtranslate: aarch64: aarch64 ############################################################# # Architecture compatibility @@ -416,6 +422,8 @@ arch_compat: sh3: noarch arch_compat: sh4: noarch arch_compat: sh4a: sh4 +arch_compat: aarch64: noarch + os_compat: IRIX64: IRIX os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6 os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5 @@ -447,6 +455,8 @@ os_compat: Darwin: MacOSX buildarch_compat: ia64: noarch +buildarch_compat: aarch64: noarch + buildarch_compat: athlon: i686 buildarch_compat: geode: i586 buildarch_compat: pentium4: pentium3 -- cgit v1.2.3