From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753712AbZBRH5n (ORCPT ); Wed, 18 Feb 2009 02:57:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751830AbZBRH5f (ORCPT ); Wed, 18 Feb 2009 02:57:35 -0500 Received: from ti-out-0910.google.com ([209.85.142.190]:20729 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751618AbZBRH5e (ORCPT ); Wed, 18 Feb 2009 02:57:34 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=mNwdqcKJZthpk+2/FnYXTLqNSVwFSxdtaJLEw+GOu+mHtL/fF6wDy2fgjCwkQtokya d/q6WaB1xh19QjM6Vv+jfG1CmUgjKtNuGJ39nBpLj1bmlV3P1jDiiGwybxYKyS/cmDGW 9rxGDJC8QclZesgrq5hRl7w7t+PeiqQZcwjiQ= From: Cheng Renquan To: Sam Ravnborg , Roman Zippel Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Cheng Renquan Subject: [PATCH] [KBUILD] add symbol value to help find the real depend Date: Wed, 18 Feb 2009 15:57:31 +0800 Message-Id: <1234943851-10155-1-git-send-email-crquan@gmail.com> X-Mailer: git-send-email 1.6.0.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Cheng Renquan kbuild-menuconfig-display-depend-value.patch ©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤ RF switch subsystem support ©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´ ©¦ CONFIG_RFKILL: ©¦ ©¦ ©¦ ©¦ Say Y here if you want to have control over RF switches ©¦ ©¦ found on many WiFi and Bluetooth cards. ©¦ ©¦ ©¦ ©¦ To compile this driver as a module, choose M here: the ©¦ ©¦ module will be called rfkill. ©¦ ©¦ ©¦ ©¦ Symbol: RFKILL [=m] ©¦ ©¦ Prompt: RF switch subsystem support ©¦ ©¦ Defined at net/rfkill/Kconfig:4 ©¦ ©¦ Depends on: NET [=y] ©¦ ©¦ Location: ©¦ ©¦ -> Networking support (NET [=y]) ©¦ ©¦ Selected by: IWLCORE [=n] && NETDEVICES [=y] && !S390 [=S390] && PC ©¦ ©¦ ©¦ ©À©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤( 99%)©¤©¤©È ©¦ < Exit > ©¦ ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼ Signed-off-by: Cheng Renquan --- Index: linux-2.6.29-rc5-lio/scripts/kconfig/expr.c =================================================================== --- linux-2.6.29-rc5-lio.orig/scripts/kconfig/expr.c +++ linux-2.6.29-rc5-lio/scripts/kconfig/expr.c @@ -1098,6 +1098,8 @@ void expr_fprint(struct expr *e, FILE *o static void expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) { str_append((struct gstr*)data, str); + if (sym) + str_printf((struct gstr*)data, " [=%s]", sym_get_string_value(sym)); } void expr_gstr_print(struct expr *e, struct gstr *gs)