]> err.no Git - util-linux/commitdiff
setarch: finish adding parisc support
authorKarel Zak <kzak@redhat.com>
Mon, 27 Aug 2007 21:16:28 +0000 (23:16 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Aug 2007 21:16:28 +0000 (23:16 +0200)
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
sys-utils/Makefile.am
sys-utils/setarch.c

index 00157e2dbac9cca3b9d62d61fdbf488a09673902..cfc2179772caa356429350e2cf6156b49deb56c7 100644 (file)
@@ -253,6 +253,7 @@ UTIL_SET_ARCH(SPARC, sparc*)
 UTIL_SET_ARCH(PPC, ppc*|powerpc*)
 UTIL_SET_ARCH(M68K, m68*)
 UTIL_SET_ARCH(MIPS, mips*)
+UTIL_SET_ARCH(HPPA, hppa*)
 
 AC_ARG_ENABLE([arch],
   AS_HELP_STRING([--enable-arch], [do build arch]),
index 6fc60aaddf22b993838a99319e6f9fd9b46febe8..ca5e4972cf5e56ad84b4f0952a6775f74d52797a 100644 (file)
@@ -65,6 +65,9 @@ endif
 if ARCH_IA64
 SETARCH_LINKS += i386 ia64
 endif
+if ARCH_HPPA
+SETARCH_LINKS += parisc parisc64 parisc32
+endif
 
 install-exec-hook:
        for I in $(RDEV_LINKS); do \
index d0cfe22947df4c7e2b530ed12c381ddba11262c6..e4a204adb9ac6afb7c4aa43ff8c734c1b02f3f80 100644 (file)
@@ -122,7 +122,8 @@ int set_arch(const char *pers, unsigned long options)
     {PER_LINUX, "ia64", "ia64"},
 #endif
 #if defined(__hppa__)
-    {PER_LINUX, "parisc", "parisc"},
+    {PER_LINUX32, "parisc32", "parisc"},
+    {PER_LINUX32, "parisc", "parisc"},
     {PER_LINUX, "parisc64", "parisc64"},
 #endif
 #if defined(__s390x__) || defined(__s390__)