On 28 May 2001 19:38:59 -0400,
Bill Pringlemeir <bpringle@sympatico.ca> wrote:
>ps, There is no FAQ entry on how to generate a single object with `-g'. I
>ended up recompiling my whole tree!
I would say "read the source, Luke" but Makefile and Rules.make is so
convoluted and twisted that it gives you a headache following the rule
interactions. Edit drivers/sound/emu10k1/Makefile
CFLAGS_timer.o += -g for one file or
EXTRA_CFLAGS += -g for all files in the directory.
With the 2.5 makefile rewrite you will be able to do
make EXTRA_CFLAGS_drivers/sound/emu10k1.o=-g for just one file or
make EXTRA_CFLAGS_drivers/sound=-g for all files in directory.
No need to edit the Makefiles to set temporary flags, althought you can
if you wish.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:38 EST