Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp296353iob; Wed, 11 May 2022 14:49:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBkIfl15pYXCm8MJVLv4m28lvLNp2Ox72969oqFF7VWkx9pJD5a8pa3RnzC79oQKTnLRZC X-Received: by 2002:a05:6402:50d2:b0:427:f49e:71a0 with SMTP id h18-20020a05640250d200b00427f49e71a0mr31498305edb.211.1652305761059; Wed, 11 May 2022 14:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652305761; cv=none; d=google.com; s=arc-20160816; b=rE2ss8ROMLjIn4qQh7PzV9d3UWE1FqSkQ0kWGpv6aZ/igknynrX/BlF5ZrdEnvVHPZ r0CSl2WyCxdB+iE3X3LzD3kHkXhKeUmwRlTdge18kGbnekZDXm7TcfzPFT6t2fi3B1u0 UUDRMBi4ITzRPzi4Vwn581p444/Kl01FJ2hYqLO2Rqw8YiyPSis47HfO6QcG3ZLxAfDR ir3mla0wBoShAsfMw0INJRh5REMHQYVO2ITT7aosh45euSZINn9hhzW6Zd8kRnFNSbfn 3JkITVgnitRmCm9e87gsT2MDMWxBQkKJuC1j36ggv2iKC2dsfgRAGvZYfRqqcUHnK4w0 rOYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=jJh/rcQpxowKUX3OBDTsgiLvIWifNhLTl01lAPYb4N4=; b=jlaDeRdu+OARk0lu2hlhyzrXs+U7RrZhHVp6aPEBg90BBFWCIc3ispvF7k7/38Soj/ F9+Lh7svc7TBsc+X43pxmTVDNayMA/uf8YPyBbDGUesmsvSHnOUoI2lQSyiFOX1Sv5tk 5Hri/BHwb2YUfBIUApmaqEaRLDWxB0hpVhgRRYGWYoTc/2QjJpi5RVN49Lm8Ik2lMgy3 4mPoxdbs3IAsEWV7otVXCRaJL19yUQg5xj1n3oxcnoGm1SXE9pwjSfzQurBp/IBPxYAN JAOxD0jLR2TBH3ngmF21RGOZMCGHepclwv/PWK4mUX21Ez5yoENKFRy1iqQo7Ro4aCDW 6Mbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=dWK61NOY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp18-20020a170906c15200b006e888cbdec6si4018462ejc.282.2022.05.11.14.48.54; Wed, 11 May 2022 14:49:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=dWK61NOY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346473AbiEKSr5 (ORCPT + 99 others); Wed, 11 May 2022 14:47:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346466AbiEKSry (ORCPT ); Wed, 11 May 2022 14:47:54 -0400 Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D15E2196FFE for ; Wed, 11 May 2022 11:47:48 -0700 (PDT) Received: from grover.jp (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-11.nifty.com with ESMTP id 24BIkGMn020990; Thu, 12 May 2022 03:46:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com 24BIkGMn020990 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1652294777; bh=jJh/rcQpxowKUX3OBDTsgiLvIWifNhLTl01lAPYb4N4=; h=From:To:Cc:Subject:Date:From; b=dWK61NOYKgPPbd9JoMMr0o1RXkfZ7+nOR1vsR2j9AWWrnH7WiKkVKdUC5lKtB8NBU mEwFTO8+wV3nvqKxm6L1KDuVm1CpMPW8KShM+LYJwjA2M9yQmqAiCzf/yrrM1THUMh TMTvQqH4X91Oblt2XOh5D3Cuh3Ba8B0TA5oAP0z4EvmxG2bsXL9WtXAPGl4R3H0WTl 4ZkEjqWQ236CcX72NbZ9TdypzEMZkfdEDyjUZk/CRKJK+gzRs1/ufxu1NunqaZ4HeE LKSwXA3wj/5dVnjb9qXAStAlKGTGSbLnEAQ4U4XtRZtD8sjhP+YgmysACPaAdO1qU9 NURasB6JayaAA== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH] riscv: move errata/ and kvm/ builds to arch/riscv/Kbuild Date: Thu, 12 May 2022 03:44:08 +0900 Message-Id: <20220511184408.2751850-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 909548d6c578 ("riscv: add arch/riscv/Kbuild") intended that subdirectories in arch/riscv/ would be added in arch/riscv/Kbuild. Signed-off-by: Masahiro Yamada --- arch/riscv/Kbuild | 2 ++ arch/riscv/Makefile | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/riscv/Kbuild b/arch/riscv/Kbuild index fb3397223d52..525ef2482253 100644 --- a/arch/riscv/Kbuild +++ b/arch/riscv/Kbuild @@ -2,6 +2,8 @@ obj-y += kernel/ mm/ net/ obj-$(CONFIG_BUILTIN_DTB) += boot/dts/ +obj-$(CONFIG_RISCV_ERRATA_ALTERNATIVE) += errata/ +obj-$(CONFIG_KVM) += kvm/ # for cleaning subdir- += boot diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 7d81102cffd4..fd9fda67c038 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -103,9 +103,6 @@ endif head-y := arch/riscv/kernel/head.o -core-$(CONFIG_RISCV_ERRATA_ALTERNATIVE) += arch/riscv/errata/ -core-$(CONFIG_KVM) += arch/riscv/kvm/ - libs-y += arch/riscv/lib/ libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a -- 2.32.0