|
Panu Matilainen |
0bacf1 |
diff --git a/installplatform b/installplatform
|
|
Panu Matilainen |
0bacf1 |
index 9a11bc3..6908f02 100755
|
|
Panu Matilainen |
0bacf1 |
--- a/installplatform
|
|
Panu Matilainen |
0bacf1 |
+++ b/installplatform
|
|
Panu Matilainen |
0bacf1 |
@@ -54,12 +54,18 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
|
|
Panu Matilainen |
0bacf1 |
CANONARCH=s390x
|
|
Panu Matilainen |
0bacf1 |
CANONCOLOR=3
|
|
Panu Matilainen |
0bacf1 |
;;
|
|
Panu Matilainen |
0bacf1 |
- ppc64*)
|
|
Panu Matilainen |
0bacf1 |
+ ppc64|ppc64p7)
|
|
Panu Matilainen |
0bacf1 |
ISANAME=ppc
|
|
Panu Matilainen |
0bacf1 |
ISABITS=64
|
|
Panu Matilainen |
0bacf1 |
CANONARCH=ppc64
|
|
Panu Matilainen |
0bacf1 |
CANONCOLOR=3
|
|
Panu Matilainen |
0bacf1 |
;;
|
|
Panu Matilainen |
0bacf1 |
+ ppc64le)
|
|
Panu Matilainen |
0bacf1 |
+ ISANAME=ppc
|
|
Panu Matilainen |
0bacf1 |
+ ISABITS=64
|
|
Panu Matilainen |
0bacf1 |
+ CANONARCH=ppc64le
|
|
Panu Matilainen |
0bacf1 |
+ CANONCOLOR=3
|
|
Panu Matilainen |
0bacf1 |
+ ;;
|
|
Panu Matilainen |
0bacf1 |
ppc*)
|
|
Panu Matilainen |
0bacf1 |
ISANAME=ppc
|
|
Panu Matilainen |
0bacf1 |
ISABITS=32
|
|
Panu Matilainen |
0bacf1 |
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
|
|
Panu Matilainen |
0bacf1 |
index 794d028..f209851 100644
|
|
Panu Matilainen |
0bacf1 |
--- a/lib/rpmrc.c
|
|
Panu Matilainen |
0bacf1 |
+++ b/lib/rpmrc.c
|
|
Panu Matilainen |
0bacf1 |
@@ -1125,6 +1125,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
|
|
Panu Matilainen |
0bacf1 |
# endif /* sparc*-linux */
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
# if defined(__linux__) && defined(__powerpc__)
|
|
Panu Matilainen |
0bacf1 |
+# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
|
Panu Matilainen |
0bacf1 |
{
|
|
Panu Matilainen |
0bacf1 |
int powerlvl;
|
|
Panu Matilainen |
0bacf1 |
if (!rstreq(un.machine, "ppc") &&
|
|
Panu Matilainen |
0bacf1 |
@@ -1133,6 +1134,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
|
|
Panu Matilainen |
0bacf1 |
strcpy(un.machine, "ppc64p7");
|
|
Panu Matilainen |
0bacf1 |
}
|
|
Panu Matilainen |
0bacf1 |
}
|
|
Panu Matilainen |
0bacf1 |
+# endif /* __ORDER_BIG_ENDIAN__ */
|
|
Panu Matilainen |
0bacf1 |
# endif /* ppc64*-linux */
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
# if defined(__GNUC__) && defined(__alpha__)
|
|
Panu Matilainen |
0bacf1 |
diff --git a/rpmrc.in b/rpmrc.in
|
|
Panu Matilainen |
0bacf1 |
index 55ff25f..affb736 100644
|
|
Panu Matilainen |
0bacf1 |
--- a/rpmrc.in
|
|
Panu Matilainen |
0bacf1 |
+++ b/rpmrc.in
|
|
Panu Matilainen |
0bacf1 |
@@ -48,6 +48,7 @@ optflags: ppc32dy4 -O2 -g -fsigned-char
|
|
Panu Matilainen |
0bacf1 |
optflags: ppciseries -O2 -g -fsigned-char
|
|
Panu Matilainen |
0bacf1 |
optflags: ppcpseries -O2 -g -fsigned-char
|
|
Panu Matilainen |
0bacf1 |
optflags: ppc64 -O2 -g -fsigned-char
|
|
Panu Matilainen |
0bacf1 |
+optflags: ppc64le -O2 -g -fsigned-char
|
|
Panu Matilainen |
0bacf1 |
optflags: ppc64p7 -O3 -mtune=power7 -mcpu=power7 -g -fsigned-char
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
optflags: parisc -O2 -g -mpa-risc-1-0
|
|
Panu Matilainen |
0bacf1 |
@@ -96,6 +97,7 @@ archcolor: sparc64 2
|
|
Panu Matilainen |
0bacf1 |
archcolor: sparcv9 2
|
|
Panu Matilainen |
0bacf1 |
archcolor: ppc 1
|
|
Panu Matilainen |
0bacf1 |
archcolor: ppc64 2
|
|
Panu Matilainen |
0bacf1 |
+archcolor: ppc64le 2
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
archcolor: armv3l 1
|
|
Panu Matilainen |
0bacf1 |
archcolor: armv4b 1
|
|
Panu Matilainen |
0bacf1 |
@@ -194,6 +196,7 @@ arch_canon: i370: i370 14
|
|
Panu Matilainen |
0bacf1 |
arch_canon: s390x: s390x 15
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
arch_canon: ppc64: ppc64 16
|
|
Panu Matilainen |
0bacf1 |
+arch_canon: ppc64le: ppc64le 16
|
|
Panu Matilainen |
0bacf1 |
arch_canon: ppc64pseries: ppc64pseries 16
|
|
Panu Matilainen |
0bacf1 |
arch_canon: ppc64iseries: ppc64iseries 16
|
|
Panu Matilainen |
0bacf1 |
arch_canon: ppc64p7: ppc64p7 16
|
|
Panu Matilainen |
0bacf1 |
@@ -281,6 +284,7 @@ buildarchtranslate: ppcpseries: ppc
|
|
Panu Matilainen |
0bacf1 |
buildarchtranslate: ppc64iseries: ppc64
|
|
Panu Matilainen |
0bacf1 |
buildarchtranslate: ppc64pseries: ppc64
|
|
Panu Matilainen |
0bacf1 |
buildarchtranslate: ppc64p7: ppc64
|
|
Panu Matilainen |
0bacf1 |
+buildarchtranslate: ppc64le: ppc64le
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
buildarchtranslate: armv3l: armv3l
|
|
Panu Matilainen |
0bacf1 |
buildarchtranslate: armv4b: armv4b
|
|
Panu Matilainen |
0bacf1 |
@@ -352,6 +356,7 @@ arch_compat: rs6000: noarch fat
|
|
Panu Matilainen |
0bacf1 |
arch_compat: ppc64pseries: ppc64
|
|
Panu Matilainen |
0bacf1 |
arch_compat: ppc64iseries: ppc64
|
|
Panu Matilainen |
0bacf1 |
arch_compat: ppc64p7: ppc64
|
|
Panu Matilainen |
0bacf1 |
+arch_compat: ppc64le: noarch fat
|
|
Panu Matilainen |
0bacf1 |
|
|
Panu Matilainen |
0bacf1 |
arch_compat: sun4c: sparc
|
|
Panu Matilainen |
0bacf1 |
arch_compat: sun4d: sparc
|
|
Panu Matilainen |
0bacf1 |
@@ -475,6 +480,7 @@ buildarch_compat: ppciseries: noarch
|
|
Panu Matilainen |
0bacf1 |
buildarch_compat: ppcpseries: noarch
|
|
Panu Matilainen |
0bacf1 |
buildarch_compat: ppc: noarch fat
|
|
Panu Matilainen |
0bacf1 |
buildarch_compat: ppc64: noarch fat
|
|
Panu Matilainen |
0bacf1 |
+buildarch_compat: ppc64le: noarch fat
|
|
Panu Matilainen |
0bacf1 |
buildarch_compat: ppc64pseries: ppc64
|
|
Panu Matilainen |
0bacf1 |
buildarch_compat: ppc64iseries: ppc64
|
|
Panu Matilainen |
0bacf1 |
buildarch_compat: ppc64p7: ppc64
|