From patchwork Sat Sep 11 15:51:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 172082 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 o8BFrsFq029069 for ; Sat, 11 Sep 2010 15:54:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752854Ab0IKPyF (ORCPT ); Sat, 11 Sep 2010 11:54:05 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:48531 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752394Ab0IKPyF (ORCPT ); Sat, 11 Sep 2010 11:54:05 -0400 Received: by mail-gy0-f174.google.com with SMTP id 8so1615205gyd.19 for ; Sat, 11 Sep 2010 08:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=hW/5ke87Asdb7tA+lKTlnDIJLin/dlkbE5M26sUIUBI=; b=UHlqD7Z8V1OPoOq+0xRX+cVxPvBKf++kVqolF22iMcZzoqeaPvuK2dSZRsl90Q/UPi cd8QlhKBDrPVsjEEstF4z0Ft4NgEhOgjAKEPfKC6/uJD37AxgHVq3QHZffTpEikl11/R vUk0sfYvJC1Blloj/4y/bEo5gvuT0hkLzW0AM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=bCaruuHorPadihXO1xoWAOQxNdnaYEOmOx6Nv+BD57JYB1BeRD6R5wZs9gdOCtBCkf qDHq3mEzYXrEydH/Hm23qNcZduUoo3na5vy1jeB0WiCLIuIqT6g/3QpNng2ohAOAiTod DtvUSsp4jmLOyjtdiFVPXVAJ1M4QyOwN7RhQM= Received: by 10.150.163.9 with SMTP id l9mr922805ybe.94.1284220444516; Sat, 11 Sep 2010 08:54:04 -0700 (PDT) Received: from localhost.localdomain (69-165-136-93.dsl.teksavvy.com [69.165.136.93]) by mx.google.com with ESMTPS id m12sm4025812ybn.19.2010.09.11.08.54.02 (version=SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 08:54:03 -0700 (PDT) From: Arnaud Lacombe To: Sam Ravnborg , Michal Marek Cc: linux-kbuild , Arnaud Lacombe Subject: [PATCH 08/15] kconfig: expand by default the rootmenu's prompt Date: Sat, 11 Sep 2010 11:51:15 -0400 Message-Id: <1284220282-3500-9-git-send-email-lacombar@gmail.com> X-Mailer: git-send-email 1.7.2.30.gc37d7.dirty In-Reply-To: <1284220282-3500-1-git-send-email-lacombar@gmail.com> References: <1284220282-3500-1-git-send-email-lacombar@gmail.com> 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]); Sat, 11 Sep 2010 15:54:06 +0000 (UTC) diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index e9b14efd..c95e67e 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y @@ -502,6 +502,10 @@ void conf_parse(const char *name) prop = prop_alloc(P_DEFAULT, modules_sym); prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); } + + rootmenu.prompt->text = strdup(_(rootmenu.prompt->text)); + rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text); + menu_finalize(&rootmenu); for_all_symbols(i, sym) { if (sym_check_deps(sym))