On Dienstag, 3. August 2004 19:22, Anupam Kapoor wrote: > doing both of these seems to be (at least to me) non-trivial. ideally, > i would like to just invoke 'make' in the source dir, and have both > foo.ko and foo-debug.ko built. > > i have tried this: > obj-m := foo.o foo-debug.o
Try adding a Makefile line like: CFLAGS_foo-debug.o += -g2 Arnd <><
pgpVL69l6A5PC.pgp
Description: signature