lkml.org 
[lkml]   [2001]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: how to crash 2.4.4 w/SBLive
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.053 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site