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: 10513215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A1ACC60329 for ; Sun, 8 Jul 2018 15:20:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 918A8289AB for ; Sun, 8 Jul 2018 15:20:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85282289B3; Sun, 8 Jul 2018 15:20:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7BAC289B0 for ; Sun, 8 Jul 2018 15:20:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932269AbeGHPUI (ORCPT ); Sun, 8 Jul 2018 11:20:08 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52060 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932121AbeGHPUH (ORCPT ); Sun, 8 Jul 2018 11:20:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kj4jnTgK38R0NfG4nbtNF08jDdRDrbrzHXMx1xpI9UM=; b=k3w9S9gs+AGJ3P4oIsr60CETx 2cJ954US1XURpVi4qDZpCivKhNJG64h4UoYaB/1djB2hxRbrRr/e0SxTPmrYDd77Bj3OJPJD3wrYy rvaKjCw3arr8+TZcBHxb76WMg/EiFrggXOwrBNw6yXgNpqsqGbNx7oBfoUaw3qxLZyaCAgqxWzudS mKCBqTcO3XlGgMmpcURlIrZfmqDNrhJpTWOk8ISyvIF+alls2O1HsBxmWXCmCFCkF/SGEdT3zIPsd i6kvVNemngRM91Eqo8r57fj6bU9ftn40931NeiVB7S1pZuftzd0l0pntESExKtL5rwL0pxYcmCjMt VA1G1gEKA==; 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 Cc: Randy Dunlap , Richard Weinberger , linux-kbuild@vger.kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org 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-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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"