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/