|
Florian Festi |
fcbbff |
diff -urp rpm-4.12.0.1/installplatform r/installplatform
|
|
Florian Festi |
fcbbff |
--- rpm-4.12.0.1/installplatform 2014-06-30 10:47:13.954503637 +0200
|
|
Florian Festi |
fcbbff |
+++ r/installplatform 2015-07-14 09:34:15.917109096 +0200
|
|
Florian Festi |
fcbbff |
@@ -114,6 +114,30 @@ for ARCH in noarch `grep ^arch_canon $RP
|
|
Florian Festi |
fcbbff |
CANONARCH=aarch64
|
|
Florian Festi |
fcbbff |
CANONCOLOR=3
|
|
Florian Festi |
fcbbff |
;;
|
|
Florian Festi |
fcbbff |
+ mips)
|
|
Florian Festi |
fcbbff |
+ ISANAME=mips
|
|
Florian Festi |
fcbbff |
+ ISABITS=32
|
|
Florian Festi |
fcbbff |
+ CANONARCH=mips
|
|
Florian Festi |
fcbbff |
+ CANONCOLOR=0
|
|
Florian Festi |
fcbbff |
+ ;;
|
|
Florian Festi |
fcbbff |
+ mipsel)
|
|
Florian Festi |
fcbbff |
+ ISANAME=mips
|
|
Florian Festi |
fcbbff |
+ ISABITS=32
|
|
Florian Festi |
fcbbff |
+ CANONARCH=mipsel
|
|
Florian Festi |
fcbbff |
+ CANONCOLOR=0
|
|
Florian Festi |
fcbbff |
+ ;;
|
|
Florian Festi |
fcbbff |
+ mips64)
|
|
Florian Festi |
fcbbff |
+ ISANAME=mips
|
|
Florian Festi |
fcbbff |
+ ISABITS=64
|
|
Florian Festi |
fcbbff |
+ CANONARCH=mips64
|
|
Florian Festi |
fcbbff |
+ CANONCOLOR=3
|
|
Florian Festi |
fcbbff |
+ ;;
|
|
Florian Festi |
fcbbff |
+ mips64el)
|
|
Florian Festi |
fcbbff |
+ ISANAME=mips
|
|
Florian Festi |
fcbbff |
+ ISABITS=64
|
|
Florian Festi |
fcbbff |
+ CANONARCH=mips64el
|
|
Florian Festi |
fcbbff |
+ CANONCOLOR=3
|
|
Florian Festi |
fcbbff |
+ ;;
|
|
Florian Festi |
fcbbff |
m68k)
|
|
Florian Festi |
fcbbff |
ISANAME=m68k
|
|
Florian Festi |
fcbbff |
ISABITS=32
|
|
Florian Festi |
fcbbff |
diff -urp rpm-4.12.0.1/lib/rpmrc.c r/lib/rpmrc.c
|
|
Florian Festi |
fcbbff |
--- rpm-4.12.0.1/lib/rpmrc.c 2014-07-03 17:11:48.572096075 +0200
|
|
Florian Festi |
fcbbff |
+++ r/lib/rpmrc.c 2015-07-14 09:34:15.918109105 +0200
|
|
Florian Festi |
fcbbff |
@@ -1053,10 +1053,22 @@ static void defaultMachine(rpmrcCtx ctx,
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
# if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL)
|
|
Florian Festi |
fcbbff |
/* little endian */
|
|
Florian Festi |
fcbbff |
- strcpy(un.machine, "mipsel");
|
|
Florian Festi |
fcbbff |
+# if defined(__LP64__) || defined(_LP64)
|
|
Florian Festi |
fcbbff |
+ /* 64-bit */
|
|
Florian Festi |
fcbbff |
+ strcpy(un.machine, "mips64el");
|
|
Florian Festi |
fcbbff |
+# else
|
|
Florian Festi |
fcbbff |
+ /* 32-bit */
|
|
Florian Festi |
fcbbff |
+ strcpy(un.machine, "mipsel");
|
|
Florian Festi |
fcbbff |
+# endif
|
|
Florian Festi |
fcbbff |
# elif defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB)
|
|
Florian Festi |
fcbbff |
/* big endian */
|
|
Florian Festi |
fcbbff |
- strcpy(un.machine, "mips");
|
|
Florian Festi |
fcbbff |
+# if defined(__LP64__) || defined(_LP64)
|
|
Florian Festi |
fcbbff |
+ /* 64-bit */
|
|
Florian Festi |
fcbbff |
+ strcpy(un.machine, "mips64");
|
|
Florian Festi |
fcbbff |
+# else
|
|
Florian Festi |
fcbbff |
+ /* 32-bit */
|
|
Florian Festi |
fcbbff |
+ strcpy(un.machine, "mips");
|
|
Florian Festi |
fcbbff |
+# endif
|
|
Florian Festi |
fcbbff |
# endif
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
# if defined(__hpux) && defined(_SC_CPU_VERSION)
|
|
Florian Festi |
fcbbff |
diff -urp rpm-4.12.0.1/macros.in r/macros.in
|
|
Florian Festi |
fcbbff |
--- rpm-4.12.0.1/macros.in 2015-07-14 09:33:34.422697268 +0200
|
|
Florian Festi |
fcbbff |
+++ r/macros.in 2015-07-14 09:34:15.918109105 +0200
|
|
Florian Festi |
fcbbff |
@@ -1011,6 +1011,10 @@ done \
|
|
Florian Festi |
fcbbff |
%arm armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
#------------------------------------------------------------------------------
|
|
Florian Festi |
fcbbff |
+# arch macro for all supported MIPS processors
|
|
Florian Festi |
fcbbff |
+%mips mips mipsel mips64 mips64el
|
|
Florian Festi |
fcbbff |
+
|
|
Florian Festi |
fcbbff |
+#------------------------------------------------------------------------------
|
|
Florian Festi |
fcbbff |
# arch macro for all supported Sparc processors
|
|
Florian Festi |
fcbbff |
%sparc sparc sparcv8 sparcv9 sparcv9v sparc64 sparc64v
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
diff -urp rpm-4.12.0.1/rpmrc.in r/rpmrc.in
|
|
Florian Festi |
fcbbff |
--- rpm-4.12.0.1/rpmrc.in 2015-07-14 09:33:34.413697179 +0200
|
|
Florian Festi |
fcbbff |
+++ r/rpmrc.in 2015-07-14 09:34:47.557423122 +0200
|
|
Florian Festi |
fcbbff |
@@ -59,6 +59,8 @@ optflags: hppa2.0 -O2 -g -mpa-risc-1-0
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
optflags: mips -O2 -g
|
|
Florian Festi |
fcbbff |
optflags: mipsel -O2 -g
|
|
Florian Festi |
fcbbff |
+optflags: mips64 -O2 -g
|
|
Florian Festi |
fcbbff |
+optflags: mips64el -O2 -g
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
optflags: armv3l -O2 -g -march=armv3
|
|
Florian Festi |
fcbbff |
optflags: armv4b -O2 -g -march=armv4
|
|
Florian Festi |
fcbbff |
@@ -114,6 +116,11 @@ archcolor: armv5tejl 1
|
|
Florian Festi |
fcbbff |
archcolor: armv6l 1
|
|
Florian Festi |
fcbbff |
archcolor: armv7l 1
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
+archcolor: mips 1
|
|
Florian Festi |
fcbbff |
+archcolor: mipsel 1
|
|
Florian Festi |
fcbbff |
+archcolor: mips64 2
|
|
Florian Festi |
fcbbff |
+archcolor: mips64el 2
|
|
Florian Festi |
fcbbff |
+
|
|
Florian Festi |
fcbbff |
archcolor: m68k 1
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
archcolor: m68kmint 1
|
|
Florian Festi |
fcbbff |
@@ -167,6 +174,7 @@ arch_canon: sparcv9: sparcv9 3
|
|
Florian Festi |
fcbbff |
arch_canon: sparcv9v: sparcv9v 3
|
|
Florian Festi |
fcbbff |
# This is really a place holder for MIPS.
|
|
Florian Festi |
fcbbff |
arch_canon: mips: mips 4
|
|
Florian Festi |
fcbbff |
+arch_canon: mipsel: mipsel 4
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
arch_canon: ppc: ppc 5
|
|
Florian Festi |
fcbbff |
arch_canon: ppc8260: ppc8260 5
|
|
Florian Festi |
fcbbff |
@@ -180,7 +188,8 @@ arch_canon: IP: sgi 7
|
|
Florian Festi |
fcbbff |
arch_canon: rs6000: rs6000 8
|
|
Florian Festi |
fcbbff |
arch_canon: ia64: ia64 9
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
-arch_canon: mipsel: mipsel 11
|
|
Florian Festi |
fcbbff |
+arch_canon: mips64: mips64 11
|
|
Florian Festi |
fcbbff |
+arch_canon: mips64el: mips64el 11
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
arch_canon: armv3l: armv3l 12
|
|
Florian Festi |
fcbbff |
arch_canon: armv4b: armv4b 12
|
|
Florian Festi |
fcbbff |
@@ -309,6 +318,11 @@ buildarchtranslate: armv7l: armv7l
|
|
Florian Festi |
fcbbff |
buildarchtranslate: armv7hl: armv7hl
|
|
Florian Festi |
fcbbff |
buildarchtranslate: armv7hnl: armv7hnl
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
+buildarchtranslate: mips: mips
|
|
Florian Festi |
fcbbff |
+buildarchtranslate: mipsel: mipsel
|
|
Florian Festi |
fcbbff |
+buildarchtranslate: mips64: mips64
|
|
Florian Festi |
fcbbff |
+buildarchtranslate: mips64el: mips64el
|
|
Florian Festi |
fcbbff |
+
|
|
Florian Festi |
fcbbff |
buildarchtranslate: m68k: m68k
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
buildarchtranslate: atarist: m68kmint
|
|
Florian Festi |
fcbbff |
@@ -387,6 +401,8 @@ arch_compat: sparc: noarch
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
arch_compat: mips: noarch
|
|
Florian Festi |
fcbbff |
arch_compat: mipsel: noarch
|
|
Florian Festi |
fcbbff |
+arch_compat: mips64: mips
|
|
Florian Festi |
fcbbff |
+arch_compat: mips64el: mipsel
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
arch_compat: hppa2.0: hppa1.2
|
|
Florian Festi |
fcbbff |
arch_compat: hppa1.2: hppa1.1
|
|
Florian Festi |
fcbbff |
@@ -508,6 +524,8 @@ buildarch_compat: ppc64p7: ppc64
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
buildarch_compat: mips: noarch
|
|
Florian Festi |
fcbbff |
buildarch_compat: mipsel: noarch
|
|
Florian Festi |
fcbbff |
+buildarch_compat: mips64: noarch
|
|
Florian Festi |
fcbbff |
+buildarch_compat: mips64el: noarch
|
|
Florian Festi |
fcbbff |
|
|
Florian Festi |
fcbbff |
buildarch_compat: armv4b: noarch
|
|
Florian Festi |
fcbbff |
buildarch_compat: armv7l: armv6l
|