Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp584209ybl; Wed, 21 Aug 2019 02:19:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqywa+y7LQfFtHRi6DR+kvZg+nOwINCowEToinN4GZcZ/MWSgcPtdaC9r5ev9AF/S/NlLVZN X-Received: by 2002:a05:6a00:cd:: with SMTP id e13mr35818517pfj.202.1566379169713; Wed, 21 Aug 2019 02:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566379169; cv=none; d=google.com; s=arc-20160816; b=hL3jHdmMTKK08CDIwsy8r/BwqdevXx+mFEPxc1M7lfnKlVI92/iGFAujoQ3JV3iGPW 6lRraaf1i5M2cf0afkSm1RyC8R2XuduEjVL5i2BAEBRPT96mNM7N2RsAyHNP9tuC5SKL GNEv8X0sU7r1QxMFjJsTJbGazakZp1s5hIpYovt83KCripTgOlQxn7Sz7atLtAkkDCQU 3Ufc5FNF0i+oApfSH+J4cbpeM7lQLpUbe/VjvRSP0rpNfgys0ejUAkS41LlsjJSLvn// aaXs0dZqbqlj8odKQl7fAbhNnkfa7SPdrhdDvnMcwkesJJk38GrObvaGd2ywWxCnrUI3 2ZCQ== 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 z11si1811988pjq.102.2019.08.21.02.19.14; Wed, 21 Aug 2019 02:19:29 -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 S1727218AbfHUJLw (ORCPT + 99 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 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 -- 2.17.1