Re: objdump flags associated with 2.0.33 kernel compliation

Woody (woody@abcs.com)
Tue, 17 Mar 1998 22:07:29 -0500


> Jim Bourne wrote:
>
> > Not sure if this is the right way (tm) to do it, but I found changing the
> > OBJDUMP var in /usr/src/linux/arch/i386/Makefile to the same as OBJCOPY
> > and removing the OBJDUMP_FLAGS worked.
> >
> > from /usr/src/linux/arch/i386/Makefile (lines 40+41)
> >
> > OBJDUMP=$(CROSS_COMPILE)objcopy -O binary -R .note -R .comment -S
> > OBJDUMP_FLAGS=
> >
> > Then in /usr/src/linux/arch/i386/boot/Makefile change (line 22)
> >
> > $(OBJDUMP) $(OBJDUMP_FLAGS) -o $(ZIMAGE_OFFSET) compressed/vmlinux > compressed/vmlinux.out; \
> >
> > to
> >
> > $(OBJDUMP) compressed/vmlinux compressed/vmlinux.out; \
> >
> > It's a hack but it worked.
> >
> > Regards
> > Jim
> >
> >
> >
> >
> >
>
> ThanX....that little hack was what I was going to do...actually, I was going to leave the "-o"
> flag and take out $OBJFLAGS, but I thought I'd ask here first.....since you say it's worked for
> you, I think I'll try it now....thanX again.....
>
> --
> Woody
> woody@abcs.com
> "Give me an underground laboratory, half a dozen atom smashers, and a
> beautiful girl in a diaphanous veil waiting to be turned into a
> chimpanzee, and I care not who writes the nations laws!"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu