From 104954fe06ff3aac81b0c7c9aeb70dd9cf36f313 Mon Sep 17 00:00:00 2001 From: Peter Grehan Date: Thu, 31 Jan 2008 01:57:33 +0000 Subject: [PATCH] Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines. Submitted by: Dan Stekloff Discussed with: marcel --- sys/conf/files.powerpc | 1 + usr.sbin/Makefile | 1 + usr.sbin/ofwdump/Makefile | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc index 54ab973dc23a..119b30d253c3 100644 --- a/sys/conf/files.powerpc +++ b/sys/conf/files.powerpc @@ -31,6 +31,7 @@ dev/fb/fb.c optional sc dev/hwpmc/hwpmc_powerpc.c optional hwpmc dev/kbd/kbd.c optional sc dev/ofw/openfirm.c optional aim +dev/ofw/openfirmio.c optional aim dev/ofw/ofw_bus_if.m optional aim dev/ofw/ofw_bus_subr.c optional aim dev/ofw/ofw_console.c optional aim diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index f6a2fccfcf21..4c0d955ee8ca 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -366,6 +366,7 @@ _zzz= zzz .if ${MACHINE_ARCH} == "powerpc" _mount_smbfs= mount_smbfs _nvram= nvram +_ofwdump= ofwdump .endif .if ${MACHINE_ARCH} == "sparc64" diff --git a/usr.sbin/ofwdump/Makefile b/usr.sbin/ofwdump/Makefile index b94ffd1bf59b..a20e94f9b335 100644 --- a/usr.sbin/ofwdump/Makefile +++ b/usr.sbin/ofwdump/Makefile @@ -2,7 +2,6 @@ PROG= ofwdump MAN= ofwdump.8 -MANSUBDIR= /sparc64 SRCS= ofwdump.c ofw_util.c WARNS?= 6