On Mon, Mar 14, 2005 at 02:23:41PM +1100, Paul Mackerras wrote: > This patch is from Amos Waterland <[EMAIL PROTECTED]>. > > It is really useful when debugging early boot on simulator to have debug > symbols in the 32-bit code that uncompresses the kernel proper. > > Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]> > > diff -urN linux-2.5/arch/ppc64/boot/Makefile test/arch/ppc64/boot/Makefile > --- linux-2.5/arch/ppc64/boot/Makefile 2005-03-07 10:46:38.000000000 > +1100 > +++ test/arch/ppc64/boot/Makefile 2005-03-14 13:42:34.000000000 +1100 > @@ -27,6 +27,11 @@ > BOOTLFLAGS := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds > OBJCOPYFLAGS := contents,alloc,load,readonly,data > > +ifdef CONFIG_DEBUG_INFO > +BOOTCFLAGS += -g > +BOOTAFLAGS += -g > +endif
Please change it to use: bootflags-y := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds bootflags-$(CONFIG_DEBUG_INFO) += -g And same for BOOTAFLAGS. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/