From patchwork Tue Jul 24 17:56:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10542817 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BF46B180E for ; Tue, 24 Jul 2018 17:56:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB32028528 for ; Tue, 24 Jul 2018 17:56:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9ED6228CF4; Tue, 24 Jul 2018 17:56:57 +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 744F028528 for ; Tue, 24 Jul 2018 17:56:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388528AbeGXTEd (ORCPT ); Tue, 24 Jul 2018 15:04:33 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41684 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388386AbeGXTEd (ORCPT ); Tue, 24 Jul 2018 15:04:33 -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=xWhfRhMF8N1K1U6YMRPu7bqTnTkxXkPzq7ekWQQ0Ipo=; b=KyUKIv9bwuh3r+VgyR4f9vPL6 0tFUmGMJ3ksr+FAoZDBhacfRuPUMLoODo+GR/03Gz8jLBtawrvxMkdi2ntVsT6DQtmAQt+BoEpgag 0sn4jkogKqv3Jw1UVR8eI4MwsdffgDJTrap+4hgZIb/WyLZ6n1VjBKfZ/niekDIw+b2kJ1h9AJ3mq V6uPkWIK0t85oSe+rl+dhteHIedrF03uJk4uBscv8aw7WpiixE8zH3iND4QRyNlBXmySasRA9kLr1 Jp7w7xK+4c7GaU5auCfFME7ILfj7HyQVImXhfHi5y2sRNsRZeRXvuzUiDU1cX4uSarIE4vHfOy9Kf 90hNO4Rpw==; Received: from 089144194224.atnat0003.highway.a1.net ([89.144.194.224] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fi1YL-000736-2B; Tue, 24 Jul 2018 17:56:53 +0000 From: Christoph Hellwig To: Masahiro Yamada Cc: Randy Dunlap , Richard Weinberger , Ley Foon Tan , Michal Simek , linux-kbuild@vger.kernel.org, linux-um@lists.infradead.org, linux-arch@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/10] um: stop abusing KBUILD_KCONFIG Date: Tue, 24 Jul 2018 19:56:37 +0200 Message-Id: <20180724175646.3621-2-hch@lst.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180724175646.3621-1-hch@lst.de> References: <20180724175646.3621-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 Acked-by: Richard Weinberger --- 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"