From patchwork Sun Jul 8 15:19:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 941031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Qh8kA+83"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NsbP3T65z9s0W for ; Mon, 9 Jul 2018 01:20:17 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=kmScKfQs/f12LiF6X3xKYdmhkC+zi3guqOryREq68J8=; b=Qh8kA+830TbLLN/iW8SL+jt4ic eoDJ+Z2o+XJpfjLOWBSXc+OIhgsPYSGIUhUBUtDKmAffVIHjX9FdbgOrG0Gr10CwhNPNecCyNeaA7 HyUx2jgPpkJCvvqPJl3XbfY8/QgZxhvQtR98La3dLgEFSYgqXsmrqj/8mWvv6eHZXaCAzKXKycsa+ jzPrFEOrKbrAu1Im+aRuayAvwcjDW0qVdkm2WXjLdIrz1jvxe2VsqXSJwb/MupmARO8kzGrzBK3mB yxh5+CJ5aq8HKYf3zGmt/U1dYO0PwS/g+u/U84pQuAnEIlPjbY6zfum3Wv8ENveLtkJ/ocXpPEIaG /3K8Uu+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcBTs-00039p-0b; Sun, 08 Jul 2018 15:20:08 +0000 Received: from ip-64-134-140-74.public.wayport.net ([64.134.140.74] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcBTp-0002lm-Lf; Sun, 08 Jul 2018 15:20:05 +0000 From: Christoph Hellwig To: Masahiro Yamada Subject: [PATCH 1/9] um: stop abusing KBUILD_KCONFIG Date: Sun, 8 Jul 2018 08:19:56 -0700 Message-Id: <20180708152004.21679-2-hch@lst.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180708152004.21679-1-hch@lst.de> References: <20180708152004.21679-1-hch@lst.de> X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , Randy Dunlap , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org MIME-Version: 1.0 Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Instead create a arch/um/Kconfig file that just includes the actual per-arch Kconfig file. Signed-off-by: Christoph Hellwig --- arch/um/Kconfig | 3 +++ arch/um/Makefile | 2 -- arch/x86/um/Kconfig | 5 ----- 3 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 arch/um/Kconfig diff --git a/arch/um/Kconfig b/arch/um/Kconfig new file mode 100644 index 000000000000..24607af202dc --- /dev/null +++ b/arch/um/Kconfig @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +source "arch/$(SUBARCH)/um/Kconfig" diff --git a/arch/um/Makefile b/arch/um/Makefile index e54dda8a0363..0207f6316d71 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile @@ -113,8 +113,6 @@ define archhelp echo ' find in the kernel root.' endef -KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig - archheaders: $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ kbuild-file=$(HOST_DIR)/include/asm/Kbuild \ diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig index 9d529f22fd9d..7e509c83d80d 100644 --- a/arch/x86/um/Kconfig +++ b/arch/x86/um/Kconfig @@ -1,9 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -mainmenu "User Mode Linux/$(SUBARCH) $(KERNELVERSION) Kernel Configuration" - -comment "Compiler: $(CC_VERSION_TEXT)" - -source "scripts/Kconfig.include" source "arch/um/Kconfig.common"