> > make GRUB_CFLAGS=-g
> > I expect that the GRUB shell will be built without optimization (because
> > I'm going to debug it). However, the -O2 option is not suppressed, since
> > it's hardcoded in stage2/Makefile.in
> I don't think -O2 disables you from debugging it. Do you have
> another reason?
Doesn't an -O2 compile need a lot more time?
> > Automake is smart enough to place FOO=@FOO@ at the beginning of
> > Makefile.in when necessary.
> As long as I see, Automake just adds FOO=@FOO@, whether FOO is used
> or not. Not smart.
Does that do any harm?
--
Ben Bucksch
http://www.bucksch.com