Fwd: kconfig issue with 'choice' and defconfigs

From: Felipe Contreras
Date: Tue Oct 19 2010 - 04:04:27 EST


Hi,

I'm forwarding this one so it doesn't get lost (I thought I sent it to lkml).

---------- Forwarded message ----------
From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
Date: Fri, Oct 15, 2010 at 1:54 PM
Subject: kconfig issue with 'choice' and defconfigs
To: linux-kbuild@xxxxxxxxxxxxxxx
Cc: Michal Marek <mmarek@xxxxxxx>


Hi,

I noticed this when playing with USB (USB_GADGET_MUSB_HDRC), basically
anything 'choice' related doesn't play nice with defconfigs.

Any ideas?

./scripts/kconfig/conf --defconfig=/dev/null testconfig

testconfig:
---
config FRIEND
   Âbool
   Âselect MARK
   Âdefault y

choice
   Âprompt "pick one"

config NOONE
   Âbool "no one"

config JOHN
   Âbool "john"

config JOHNJR
   Âtristate
   Âdepends on JOHN
   Âdefault FRIEND

config MARK
   Âbool "mark"

endchoice
---

CONFIG_FRIEND=y
CONFIG_NOONE=y
# CONFIG_JOHN is not set
# CONFIG_MARK is not set

--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/