[PATCH] [KBUILD] add symbol value to help find the real depend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Cheng Renquan <chengrq@xxxxxxxxxx>

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 <chengrq@xxxxxxxxxx>

---

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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux