From patchwork Thu Nov 22 00:06:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1788241 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 4D291DF24C for ; Thu, 22 Nov 2012 20:42:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754246Ab2KVTAL (ORCPT ); Thu, 22 Nov 2012 14:00:11 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:53957 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753979Ab2KVTAH (ORCPT ); Thu, 22 Nov 2012 14:00:07 -0500 Received: by mail-we0-f174.google.com with SMTP id d7so2106174wer.19 for ; Thu, 22 Nov 2012 11:00:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=y/FGylMSywYF9EDoIjPz2C2ankF6TSngrzY1LCqGnU8=; b=MQRLsFSZr0/BXpZSzD9C2c7CXEGv2KHryLeq59skDP/WPFTtl++7zXvsc9AtcN41QG ZgBydJIDEXOi1UjA7GU868vdlRGuqCT5XXVKXAipVjZRz/8Zyv5u2flHJFiK7wb57htV jB1OruSYGK8p7RKXO2UocjvJ344rJ9rkef1Ep5t9BOvuXgY1J79S0zm/kcPATAGa9lqb OoMT/vFf5/lYvUtCvLjJ5CYA6YL5kaOhAUkak0ti8cbTcKUp+S7qqetfI2TTWEvgIOVg N2SW5JfDajTxx6B8lGsC4XfFB0toi9FEglDQxYys0+xony7rz2SSj9LqXun0s390i4oS GXKw== Received: by 10.180.89.234 with SMTP id br10mr1739422wib.2.1353542775489; Wed, 21 Nov 2012 16:06:15 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-138-125.w90-32.abo.wanadoo.fr. [90.32.249.125]) by mx.google.com with ESMTPS id j18sm1608627wiv.9.2012.11.21.16.06.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 16:06:14 -0800 (PST) From: "Yann E. MORIN" To: linux-kbuild@vger.kernel.org Cc: Michal Marek , "Yann E. MORIN" Subject: [PATCH 1/3] scripts/kconfig: ensure we use proper CONFIG_ prefix Date: Thu, 22 Nov 2012 01:06:04 +0100 Message-Id: <1353542766-24422-2-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1353542766-24422-1-git-send-email-yann.morin.1998@free.fr> References: <1353542766-24422-1-git-send-email-yann.morin.1998@free.fr> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Now that we get the CONFIG_ prefix from the environment, we must ensure we use the proper prefix in case the user has it set in the environment. Simply unexport CONFIG_ to fallback to our hard-coded default. Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 3091794..231b475 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -11,6 +11,9 @@ else Kconfig := Kconfig endif +# We need this, in case the user has it in its environment +unexport CONFIG_ + xconfig: $(obj)/qconf $< $(Kconfig)