From patchwork Wed Aug 21 09:26:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171942 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp709956ily; Wed, 21 Aug 2019 02:27:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/Uz2HUOAf7PXLW8cdppDcSjEiw65jH9yTsNam+xvmIcSwscTI9L/71ApQBIc6J/ymT4AF X-Received: by 2002:a17:90a:c086:: with SMTP id o6mr4484461pjs.2.1566379678927; Wed, 21 Aug 2019 02:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566379678; cv=none; d=google.com; s=arc-20160816; b=f/tgxq2ItOwI5Po1UFbkAL4UNkL3loCTFNqhnZMkgs7B0+orrP/VJstgl3DpgDyCKd JsQW7OUA05pJIgf/0zh4xIM5WnuPZ85+YKDvl20NGuHdiUO04ytw95LjjbkGIgv+Z7lk 4Sry3WJo+jfLohM9CRTgorWxgkV6XFbAfBKKPx75c3aVzBxVYkXyHA/AobD9MJiUwYSZ 8Qk0cDYWJsBMreduR+QmPzS9kWshl4X8LGynJxDHCqXv5Flswn+vjv6w/yI4TwgyWpG7 jclmUjH04CQnbqdXIBg3rzOqLkJRybZdqN+z/V1SXfmjh4r1T4X5ntjH2Ruv9/huaNYt E/iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=pqcPU4AECin6r3EcYqzgQUoNg5HAz9R05ah4cX2iLn4=; b=zjeLzzTzfguXcQUVyOZauMuBAnt6UzaUhird2yYumsnLYyGspmyciPgfhrHbB91CNs mGiPXy6amvflKmc955OKRVsKx5WzfWiTUm9KF6CehRGzk3tuA0cSPc/bLLZu+5EASd3k 031jyOA3i9nBQisf2cqsc//L/9oZQT/G/bdrJ/bk0j3xYlyhW9uwL22SaR3z/tWi+HdK hNe7JCgPMIpVXaE35RStwSEflxO7DkBtfkkOl2T6l0Kb0Pcu0AgB+Sb7XOTftvF9OWBB 9BvEzZXX4tU1S4li58S7zcVITMyeOP4fPFfspLMi2Xvnv78kW5MdWOgobAzO31Xx71rL 8b9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=c+NS490T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si12156555pld.265.2019.08.21.02.27.58; Wed, 21 Aug 2019 02:27:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=c+NS490T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727339AbfHUJ15 (ORCPT + 28 others); Wed, 21 Aug 2019 05:27:57 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45360 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726527AbfHUJ15 (ORCPT ); Wed, 21 Aug 2019 05:27:57 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x7L9Qxk5009298; Wed, 21 Aug 2019 18:26:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x7L9Qxk5009298 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566379619; bh=pqcPU4AECin6r3EcYqzgQUoNg5HAz9R05ah4cX2iLn4=; h=From:To:Cc:Subject:Date:From; b=c+NS490TiT/gXvHLM8uDhIkSvcIemGEtcTjpEGee/AapYXb5VC63uE31iAXAiJOpK v/HRhZr4IOEuR/avdcAKcoAc5IzUVc0qkTd0BNUao1elY22StnVO2uMHd9PMP+errs H4ZFDdX5l/jIx5lPc2qnb2fiV9OV/CzAgpLBNU7087GEEsas9fK5c/Z7tde86fsuEu xAHSdz/zXT1AXv/MF4P06lNWvnTngz+wejtpCzL6+XjYt4iCbvV+S5ndiFXKDcdbAG iDGx3BSL4xnHmF4+9pp8ik53ZXmCt8y2rePCTU9G2/OMo8Bfdl5hZoAY1YSPHTO6at 3ImjknwD0vMvA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] riscv: add arch/riscv/Kbuild Date: Wed, 21 Aug 2019 18:26:58 +0900 Message-Id: <20190821092658.32764-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the standard obj-y form to specify the sub-directories under arch/riscv/. No functional change intended. Signed-off-by: Masahiro Yamada --- arch/riscv/Kbuild | 3 +++ arch/riscv/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/riscv/Kbuild -- 2.17.1 diff --git a/arch/riscv/Kbuild b/arch/riscv/Kbuild new file mode 100644 index 000000000000..d1d0aa70fdf1 --- /dev/null +++ b/arch/riscv/Kbuild @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ mm/ net/ diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 426d989125a8..bf4c6d914ff5 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -72,7 +72,7 @@ KBUILD_IMAGE := $(boot)/Image.gz head-y := arch/riscv/kernel/head.o -core-y += arch/riscv/kernel/ arch/riscv/mm/ arch/riscv/net/ +core-y += arch/riscv/ libs-y += arch/riscv/lib/