From patchwork Wed Sep 1 15:21:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kyle mcmartin X-Patchwork-Id: 147031 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o81FLTaP031216 for ; Wed, 1 Sep 2010 15:21:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755679Ab0IAPVb (ORCPT ); Wed, 1 Sep 2010 11:21:31 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:35830 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755646Ab0IAPVb (ORCPT ); Wed, 1 Sep 2010 11:21:31 -0400 Received: from kyle by bombadil.infradead.org with local (Exim 4.72 #1 (Red Hat Linux)) id 1Oqp7y-0004oX-Ap; Wed, 01 Sep 2010 15:21:30 +0000 Date: Wed, 1 Sep 2010 11:21:30 -0400 From: Kyle McMartin To: Sam Ravnborg Cc: linux-kbuild@vger.kernel.org, aris@redhat.com, linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: fix oldnoconfig to do the right thing Message-ID: <20100901152130.GY2684@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Sep 2010 15:21:32 +0000 (UTC) diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 5b7c86e..7ef429c 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -427,7 +427,7 @@ static void check_conf(struct menu *menu) if (sym->name && !sym_is_choice_value(sym)) { printf("CONFIG_%s\n", sym->name); } - } else { + } else if (input_mode != oldnoconfig) { if (!conf_cnt++) printf(_("*\n* Restart config...\n*\n")); rootEntry = menu_get_parent_menu(menu);