From patchwork Sat Sep 11 15:51:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 172052 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 o8BFrsFn029069 for ; Sat, 11 Sep 2010 15:54:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752796Ab0IKPyA (ORCPT ); Sat, 11 Sep 2010 11:54:00 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:53064 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752394Ab0IKPx7 (ORCPT ); Sat, 11 Sep 2010 11:53:59 -0400 Received: by mail-gw0-f46.google.com with SMTP id 17so1555732gwj.19 for ; Sat, 11 Sep 2010 08:53:59 -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=9miafwdV/Hj4j+LRhwbGcoj65RN2Vu20EyOsc89mfEY=; b=XJl8jj59hxzq8awC2BSjVrd4i4hFT9lUrIqx+SUpnG7NomDwTEqJN7SQA5MAKMbGyJ 08ctcYgmnZLmYQT/wXVzJCIAZOonzjXgZZW4mEmPocTMEeKIIKmNOK40uaZEBt874S2A SEPRUHx/imIhz1DN033v/jkoh+UrnAJSYBI64= 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=szQlBDB1WmLYTGdY81efSKW+JDI7eBsnuoNZx5YrCHO0kAbB7xIsFNTacC3uC95pBT Qb8ohc55d55OFgk+QujevGKwBKHP9m9IvAb/4lUaFLqhnJY4zzaIMe+N1/NUBRKD+ceQ cXt9IW231X+M1JWClRgNpt74cMvyhlauQPy5U= Received: by 10.150.158.13 with SMTP id g13mr1139533ybe.51.1284220439188; Sat, 11 Sep 2010 08:53:59 -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.53.57 (version=SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 08:53:58 -0700 (PDT) From: Arnaud Lacombe To: Sam Ravnborg , Michal Marek Cc: linux-kbuild , Arnaud Lacombe Subject: [PATCH 05/15] kconfig: allow PACKAGE to be defined on the compiler's command-line Date: Sat, 11 Sep 2010 11:51:12 -0400 Message-Id: <1284220282-3500-6-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:00 +0000 (UTC) diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 1b966bf..5d5f187 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -31,7 +31,10 @@ extern "C" { #define SRCTREE "srctree" +#ifndef PACKAGE #define PACKAGE "linux" +#endif + #define LOCALEDIR "/usr/share/locale" #define _(text) gettext(text)