summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/menus.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-10-03 17:50:43 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-10-03 17:50:43 +0000
commitc1b38741bcb69ccf0d03e8e7e1c37f17ecb6af1d (patch)
tree2ec2b73367e08fdd8d4fa82615fe3b5029a6936f /usr.sbin/sysinstall/menus.c
parent3948e2de3651703f691b85cdfda90966bf8c8a53 (diff)
downloadFreeBSD-src-c1b38741bcb69ccf0d03e8e7e1c37f17ecb6af1d.zip
FreeBSD-src-c1b38741bcb69ccf0d03e8e7e1c37f17ecb6af1d.tar.gz
Extend sysinstall to handle powerpc64 by teaching it that powerpc64 has
a lib32 distribution, and that the GENERIC kernel is named GENERIC64. More modifications will be required later for installations from ftp due to the shared platform name with 32-bit powerpc, but this is enough for snapshot CDs to work. Reviewed by: brucec
Diffstat (limited to 'usr.sbin/sysinstall/menus.c')
-rw-r--r--usr.sbin/sysinstall/menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index 58a9950..2015978 100644
--- a/usr.sbin/sysinstall/menus.c
+++ b/usr.sbin/sysinstall/menus.c
@@ -993,7 +993,7 @@ DMenu MenuSubDistributions = {
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_GAMES },
{ " info", "GNU info files",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_INFO },
-#ifdef __amd64__
+#if defined(__amd64__) || defined(__powerpc64__)
{ " lib32", "32-bit runtime compatibility libraries",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LIB32 },
#endif
OpenPOWER on IntegriCloud