In the mainboard selection, the selected mainboard is printed twice in
authorPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 14 Sep 2009 14:15:43 +0000 (14:15 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 14 Sep 2009 14:15:43 +0000 (14:15 +0000)
certain cases, this patch eliminates the second mention.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4632 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/kconfig/mconf.c

index 72d3f689774967eeddff1520368a7b0205b5f119..fc804bb366ffd869bc588352829c3203123179cb 100644 (file)
@@ -506,11 +506,14 @@ static void build_conf(struct menu *menu)
                        if (def_menu) {
                                item_add_str(" (%s)", _(menu_get_prompt(def_menu)));
                                item_add_str("  --->");
+#if 0 
+/* coreboot doesn't need this representation */
                                if (def_menu->list) {
                                        indent += 2;
                                        build_conf(def_menu);
                                        indent -= 2;
                                }
+#endif
                        }
                        return;
                }