From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,T_DKIM_INVALID, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0262EECDFB8 for ; Tue, 24 Jul 2018 17:56:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D77620844 for ; Tue, 24 Jul 2018 17:56:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KyUKIv9b" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D77620844 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388548AbeGXTEd (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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- 2.18.0