From patchwork Wed Aug 21 09:11:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171937 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp695660ily; Wed, 21 Aug 2019 02:11:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwb23Go8y0Tn5DNNdZrocGOw1Ty1GQvXUW29kXh6zmIwbCfimeEHT1XXpUOYt17ftEwVm2 X-Received: by 2002:a17:902:9a8b:: with SMTP id w11mr1362139plp.171.1566378714026; Wed, 21 Aug 2019 02:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566378714; cv=none; d=google.com; s=arc-20160816; b=N6qkZLBAr9vOPA4H9/F1Nb2Y2Gjk1h8qWORDgCTVD0/fQ327Sfmd4KchhQXVx5OJAm h863Gw40UKSQaRufZH5OEh9zm+qb4aR3DV1eO6YVSEKWP0Fu1Y2tIPhcNfwyW1ggkhUa vHP8xXxc8nQkhdoSBLeYpe/pvXObHU9sNVEvc+WBTqXqk8zAQMqGjZp9TDDOv4OH+jrj mEGX74QWiFG5kANFG+eiNz7xybMkvBwpGPWSaijCaUs/7NEu3wctm6Y3c4hew2WJJjH9 5Ji/nTe7HfeXbl7Oi/cNbf6vOIKbYoZz0r+6vLA7A8U3FswYQ1cEZj0tSxf0DXQqD8tp 0wgA== 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=Y1VwZdO6Ru05gQk/29DwsFczvGNl4wiiOoEN8zKEUSA=; b=LgpC8fw6hUc4dVqPT6jrOxPPseb5Z3PZplP8+JgwFDjRXVYZSoqQcHeomm/lWMlds6 E1zUYNSAjEgG++yXKqHd5J9MkYhpCXZ3oM+M0tViOIE74+Gl0/9P2qAsOYfjcbJTI6RY YzUneUBFA6uYW2dIYEJXpMC1PSBxaUbWEcP0mgnDGn79YGZ5HliHcdF6zNF0OlvOMLXK B+ERuY2qgRtg1pvSSEVtukcddQTMUtDShEnMb6YAUZ89JnUwen9QOyFkdKPZEtjs99yq u4/bYLgpCizRhfwKoZZ5TW1RG2MRX9sxJS6PgtZppA5sVOs/94CUW4wfqwJF7k2B2zKM Axjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=OCWv7bX8; 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 k8si13942096pgi.49.2019.08.21.02.11.53; Wed, 21 Aug 2019 02:11:54 -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=OCWv7bX8; 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 S1727234AbfHUJLw (ORCPT + 28 others); Wed, 21 Aug 2019 05:11:52 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:18541 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727200AbfHUJLv (ORCPT ); Wed, 21 Aug 2019 05:11:51 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x7L9BLsk025020; Wed, 21 Aug 2019 18:11:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x7L9BLsk025020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566378682; bh=Y1VwZdO6Ru05gQk/29DwsFczvGNl4wiiOoEN8zKEUSA=; h=From:To:Cc:Subject:Date:From; b=OCWv7bX8zKjVb3P5hcq+uFD0oh1wi2o6X9ItcCPJPpgPh/MoHNGxniSEy5UDTnkn3 2G3YS5UJVmEpZvr2x2/YbKCp+O7M+cKASteXh9YcatcXtsEdnQdzrFnxEl1x1iFvIh kSFmki8wWPfYPVw4n36rU+RzjTx8OVdP//DR3SPdBXvhnkiX2zjsu9xL24mTo/EZZV HkEsgXEB2CVROPQ8DIuuh42wO2jflyHpmUOZ8R1mbXUeJcqOs7Zo975iZjdERSOC7h 8EV28AoOrKInvz225IqTCTL8Ol/ut5TnonFy/j3xq4Hk1HrT9DtJYYe6QPw8qQlc4U 4AMTANgj88z8Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Masahiro Yamada , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH] arm64: add arch/arm64/Kbuild Date: Wed, 21 Aug 2019 18:11:17 +0900 Message-Id: <20190821091117.7310-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/arm64/. No functional change intended. Signed-off-by: Masahiro Yamada --- arch/arm64/Kbuild | 6 ++++++ arch/arm64/Makefile | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 arch/arm64/Kbuild -- 2.17.1 diff --git a/arch/arm64/Kbuild b/arch/arm64/Kbuild new file mode 100644 index 000000000000..d6465823b281 --- /dev/null +++ b/arch/arm64/Kbuild @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ +obj-$(CONFIG_NET) += net/ +obj-$(CONFIG_KVM) += kvm/ +obj-$(CONFIG_XEN) += xen/ +obj-$(CONFIG_CRYPTO) += crypto/ diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index d4ed1869e536..fd6714a585f7 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -136,11 +136,7 @@ KASAN_SHADOW_OFFSET := $(shell printf "0x%08x00000000\n" $$(( \ export TEXT_OFFSET GZFLAGS -core-y += arch/arm64/kernel/ arch/arm64/mm/ -core-$(CONFIG_NET) += arch/arm64/net/ -core-$(CONFIG_KVM) += arch/arm64/kvm/ -core-$(CONFIG_XEN) += arch/arm64/xen/ -core-$(CONFIG_CRYPTO) += arch/arm64/crypto/ +core-y += arch/arm64/ libs-y := arch/arm64/lib/ $(libs-y) core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a