[PATCH 1/2] Update support to installplatform and rpmrc for ppc64le

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IBM recently announced the OpenPOWER Consortium, part of this initiative
means now powerpc hardware can run the little endian mode.  Create a new
platform for that mode of opperation.

Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
---
 installplatform | 8 +++++++-
 rpmrc.in        | 6 ++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/installplatform b/installplatform
index 9a11bc3..6908f02 100755
--- a/installplatform
+++ b/installplatform
@@ -54,12 +54,18 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
 	CANONARCH=s390x
 	CANONCOLOR=3
 	;;
-    ppc64*)
+    ppc64|ppc64p7)
 	ISANAME=ppc
 	ISABITS=64
 	CANONARCH=ppc64
 	CANONCOLOR=3
 	;;
+    ppc64le)
+	ISANAME=ppc
+        ISABITS=64
+        CANONARCH=ppc64le
+        CANONCOLOR=3
+	;;
     ppc*)
 	ISANAME=ppc
 	ISABITS=32
diff --git a/rpmrc.in b/rpmrc.in
index 55ff25f..affb736 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -48,6 +48,7 @@ optflags: ppc32dy4 -O2 -g -fsigned-char
 optflags: ppciseries -O2 -g -fsigned-char
 optflags: ppcpseries -O2 -g -fsigned-char
 optflags: ppc64 -O2 -g -fsigned-char
+optflags: ppc64le -O2 -g -fsigned-char
 optflags: ppc64p7 -O3 -mtune=power7 -mcpu=power7 -g -fsigned-char
 
 optflags: parisc -O2 -g -mpa-risc-1-0
@@ -96,6 +97,7 @@ archcolor: sparc64 2
 archcolor: sparcv9 2
 archcolor: ppc 1
 archcolor: ppc64 2
+archcolor: ppc64le 2
 
 archcolor: armv3l 1
 archcolor: armv4b 1
@@ -194,6 +196,7 @@ arch_canon:	i370: i370	14
 arch_canon:	s390x: s390x	15
 
 arch_canon:	ppc64:	ppc64	16
+arch_canon:	ppc64le:	ppc64le	16
 arch_canon:    ppc64pseries: ppc64pseries  16
 arch_canon:    ppc64iseries: ppc64iseries  16
 arch_canon:    ppc64p7: ppc64p7  16
@@ -281,6 +284,7 @@ buildarchtranslate: ppcpseries: ppc
 buildarchtranslate: ppc64iseries: ppc64
 buildarchtranslate: ppc64pseries: ppc64
 buildarchtranslate: ppc64p7: ppc64
+buildarchtranslate: ppc64le: ppc64le
 
 buildarchtranslate: armv3l: armv3l
 buildarchtranslate: armv4b: armv4b
@@ -352,6 +356,7 @@ arch_compat: rs6000: noarch fat
 arch_compat: ppc64pseries: ppc64
 arch_compat: ppc64iseries: ppc64
 arch_compat: ppc64p7: ppc64
+arch_compat: ppc64le: noarch fat
 
 arch_compat: sun4c: sparc
 arch_compat: sun4d: sparc
@@ -475,6 +480,7 @@ buildarch_compat: ppciseries: noarch
 buildarch_compat: ppcpseries: noarch
 buildarch_compat: ppc: noarch fat
 buildarch_compat: ppc64: noarch fat
+buildarch_compat: ppc64le: noarch fat
 buildarch_compat: ppc64pseries: ppc64
 buildarch_compat: ppc64iseries: ppc64
 buildarch_compat: ppc64p7: ppc64
-- 
1.8.1.4

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list




[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux