Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 00:46:20 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136310 for review
Message-ID:  <200802270046.m1R0kKgr006192@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=136310

Change 136310 by marcel@marcel_xcllnt on 2008/02/27 00:46:16

	Eliminate redundant declarations and remove makeoptions WERROR.
	While here, add -Wa,-me500 to makeoptions DEBUG so that it's
	possible to build the kernel without doing make buildkernel
	from the top.

Affected files ...

.. //depot/projects/e500/sys/powerpc/booke/interrupt.c#6 edit
.. //depot/projects/e500/sys/powerpc/booke/trap.c#6 edit
.. //depot/projects/e500/sys/powerpc/conf/MPC85XX#2 edit

Differences ...

==== //depot/projects/e500/sys/powerpc/booke/interrupt.c#6 (text+ko) ====

@@ -62,7 +62,6 @@
 #include "pic_if.h"
 
 extern void decr_intr(struct trapframe *);
-extern void trap(struct trapframe *);
 
 void powerpc_decr_interrupt(struct trapframe *);
 void powerpc_extr_interrupt(struct trapframe *);

==== //depot/projects/e500/sys/powerpc/booke/trap.c#6 (text+ko) ====

@@ -87,8 +87,6 @@
 #define	FAULTBUF_XER	5
 #define	FAULTBUF_R13	6
 
-void		trap(struct trapframe *);
-
 static void	trap_fatal(struct trapframe *frame);
 static void	printtrap(u_int vector, struct trapframe *frame, int isfatal,
 		    int user);

==== //depot/projects/e500/sys/powerpc/conf/MPC85XX#2 (text+ko) ====

@@ -1,9 +1,8 @@
 cpu		E500
 ident		MPC85XX
 
-makeoptions	DEBUG=-g
+makeoptions	DEBUG="-Wa,-me500 -g"
 makeoptions	NO_MODULES=yes
-makeoptions	WERROR="-Werror -Wno-format -Wno-redundant-decls"
 
 options 	FPU_EMU
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802270046.m1R0kKgr006192>