All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] 2.6 kbuild inconsistent CONFIG_DEBUG_INFO usage?
@ 2005-07-28  0:41 Grant Coady
  2005-07-28  4:43 ` Nishanth Aravamudan
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Grant Coady @ 2005-07-28  0:41 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 2110 bytes --]

Hi there,

2.6.13-rc3-mm2 (cc: Russell King as lots of arms in there)

linux-2.6.13-rc3-mm2b$ grep -r CONFIG_DEBUG_INFO *|cut -d: -f2-|sort|uniq -c|sort -nr
     57 # CONFIG_DEBUG_INFO is not set
     22 CONFIG_DEBUG_INFO=y
      4 #ifdef CONFIG_DEBUG_INFO
      2 ifdef CONFIG_DEBUG_INFO
      2 #ifndef CONFIG_DEBUG_INFO
      1 ifneq ($(CONFIG_DEBUG_INFO),y)  <<== ??
      1 ifeq ($(CONFIG_DEBUG_INFO),y)   <<== ??


linux-2.6.13-rc3-mm2b$ grep -r '($(CONFIG_DEBUG_INFO),y)' *

arch/arm26/Makefile:ifeq ($(CONFIG_DEBUG_INFO),y)
arch/x86_64/Makefile:ifneq ($(CONFIG_DEBUG_INFO),y)
  
Two Makefiles check for a value. The rest only check if [not] defined.

ifdef CONFIG_DEBUG_INFO
CFLAGS          += -g
AFLAGS          += -g
endif

This a problem?  I read somewhere setting to 'n' stops debug, that can't 
be right?  

Places setting it to 'y' are off the main path (for me):

linux-2.6.13-rc3-mm2b$ grep -r CONFIG_DEBUG_INFO=y *
arch/um/defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/pxa255-idp_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/h7202_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/mainstone_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/bast_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/lubbock_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/mx1ads_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/lpd7a404_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/s3c2410_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/badge4_defconfig:CONFIG_DEBUG_INFO=y
arch/arm/configs/lpd7a400_defconfig:CONFIG_DEBUG_INFO=y
arch/ppc/configs/ocotea_defconfig:CONFIG_DEBUG_INFO=y
arch/ppc/configs/lite5200_defconfig:CONFIG_DEBUG_INFO=y
arch/ppc/configs/luan_defconfig:CONFIG_DEBUG_INFO=y
arch/m32r/opsput/defconfig.opsput:CONFIG_DEBUG_INFO=y
arch/ia64/configs/sn2_defconfig:CONFIG_DEBUG_INFO=y
arch/ia64/configs/sim_defconfig:CONFIG_DEBUG_INFO=y
arch/v850/configs/rte-ma1-cb_defconfig:CONFIG_DEBUG_INFO=y
arch/v850/configs/sim_defconfig:CONFIG_DEBUG_INFO=y
arch/v850/configs/rte-me2-cb_defconfig:CONFIG_DEBUG_INFO=y
arch/alpha/defconfig:CONFIG_DEBUG_INFO=y
arch/arm26/defconfig:CONFIG_DEBUG_INFO=y


Thanks,
Grant.


[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-07-28 21:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-28  0:41 [KJ] 2.6 kbuild inconsistent CONFIG_DEBUG_INFO usage? Grant Coady
2005-07-28  4:43 ` Nishanth Aravamudan
2005-07-28 19:40 ` Grant Coady
2005-07-28 20:21 ` Domen Puncer
2005-07-28 20:38 ` Nishanth Aravamudan
2005-07-28 21:14 ` Grant Coady
2005-07-28 21:17 ` Grant Coady
2005-07-28 21:41 ` Domen Puncer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.