PERFORCE change 136310 for review

Marcel Moolenaar marcel at FreeBSD.org
Wed Feb 27 00:46:21 UTC 2008


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

Change 136310 by marcel at 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
 


More information about the p4-projects mailing list