Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp282984pxb; Wed, 25 Aug 2021 03:14:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+0WQpBoQEyFsqyXnrwjAsoESuQKNdUvw+j6Fyt2DvN2b11BrcnOV/Js5q5wl8YG4eo4jp X-Received: by 2002:a17:906:3ce2:: with SMTP id d2mr45450969ejh.410.1629886451602; Wed, 25 Aug 2021 03:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629886451; cv=none; d=google.com; s=arc-20160816; b=C6V0WNRe1Eidbl+EuzKW8C3/iEix1PEkHUPW+Fv+0LQNJGfy3R+IN74Ny5SneY6J4E k56RwDRxos0LTCBgHOj5NRtFfogHzMaAy0wjsLED7X0NjZm3bbwxD9WOila3K5bPrApu tv6zmCMq9oGxrHVpKKVTwBmxotmL+7hjVtOiyQsZm5gLkWsowJG9AWRrx6GF86Al8g2t 8bGsRQwEzAUex4gqgHSDptOPjRIhH1ozFAY5/wO8zvS3YphjdiMwTwjfdaYRxSUOdyfv fmAlcj3BvnX2AtdVmnVuy7ZIts/pP901Y92qk4ufC+5RcG+EVJGxbC32BghD2FWAuOlL L2AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=lTM6ISsEymRSdxqbfbjQ9nbYtaTqxueWlZIn8/Cn8Fw=; b=V/0ceQvxEi5NBLWGTx7WxvdOz4bw453zldaLwBF0AG3jyStCNPWmOY05HwdJ3Qyvau /QIdst+N3dOmefirWeWy0mkMtzyHjecHbp2UfinQVW7LC95fBJhiRS2/PhJ6Wh/GHvvM YhwJiBp6xMG56hZD6p+5KKLxkfwfR6Ynk0JyIh5GXG+7OWB1vXhcgDNGC7fZWKPwKcUX jhD7QIAPFf9Rt2FU6g8S30JLGfcyPXvKASVbBtMU1HNrSk1B4l/I2H9HbRJ8OYjKxQE8 L7FhncJmQuu1yrhBankYn0S48CYuBdLxryrYWB7lDS7Sk3G2v77d3BCc+z1q0AlTxWBA xg2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=A6clfGDT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si12317405edt.168.2021.08.25.03.13.47; Wed, 25 Aug 2021 03:14:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=A6clfGDT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239654AbhHYKKl (ORCPT + 99 others); Wed, 25 Aug 2021 06:10:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239628AbhHYKKe (ORCPT ); Wed, 25 Aug 2021 06:10:34 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5D27C0613D9 for ; Wed, 25 Aug 2021 03:09:48 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id i21so9144189ejd.2 for ; Wed, 25 Aug 2021 03:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lTM6ISsEymRSdxqbfbjQ9nbYtaTqxueWlZIn8/Cn8Fw=; b=A6clfGDTpE1XV0m3hWY2qjpn2irid8WDQi/ySOnXTlo3MEf6IRyJUdFW4TP6xXuTrQ IvU6SWKhSDFJ3GHRSOU9ku+OyJIIKJTAebrk7kzYI23XBkMf2v3Jdx0UzEMvcgQiikgr JnrLs8j4KtBXpNhblXWBLk1MNsRW4mwqCdYqg+Cjb+Sm3pzBofa7sXXN7vb+P+/3+vN7 sdzARspP7+BuCuHqBM5N9jhFJD+4xgwf9pnLhNBvidbj1KjcfiVwxywWeycLFo8A8hsp qjVuocULa6rPyFZX4ucztQr6CEe6bYn1EfvSzCOO1/bEH2MhjtJfROuQ7fqbnxeqxIyG X8CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lTM6ISsEymRSdxqbfbjQ9nbYtaTqxueWlZIn8/Cn8Fw=; b=M0fodRmzb7dFNnZLe5DqYdkTIKroP7pWj2tck335NXyw0O+i7XMZwJWaXs3pmO2g1s FqlvTvfHLsPOZjfH42jpIbGe+s1sIzrqxA4hAb7TL5Q7s1tXjjRMS4bQbev8SEg2tEnq Tx245/heMBXRRMtgUT5h/PwFid2bCNTIjepOyA9jOESoQAnKCPiJ8vJOyCtjuv0RS9/5 IhuCr0076FDMyVlCzr5rSdRkH/J6tV+6T6KvLwXfhgNHngkgnMo7WCPUoD9JeoMdgOP6 mULXSQtpmUKgwcltllLP2HXSKDfdmzzzJq4g565S0RqS7spOJdwugGZ+90GrnfEgvHhW lKqA== X-Gm-Message-State: AOAM531AbYql/UA4KRv1NZogY8qJh2gdW13C79zGs9zZ7s0yQanGhT3F GUimof7mOwZ9mRM/n5DLxHgMoDKvO+nWT8tT X-Received: by 2002:a17:906:f8c4:: with SMTP id lh4mr44842845ejb.542.1629886187395; Wed, 25 Aug 2021 03:09:47 -0700 (PDT) Received: from ?IPv6:2a02:768:2307:40d6::e05? ([2a02:768:2307:40d6::e05]) by smtp.gmail.com with ESMTPSA id k15sm4509166ejb.92.2021.08.25.03.09.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Aug 2021 03:09:47 -0700 (PDT) Subject: Re: [PATCH] microblaze: move core-y in arch/microblaze/Makefile to arch/microblaze/Kbuild To: Masahiro Yamada Cc: linux-kernel@vger.kernel.org References: <20210811164518.187497-1-masahiroy@kernel.org> From: Michal Simek Message-ID: <5a401a6f-4f3a-43f0-50be-2bc4005ed46f@monstr.eu> Date: Wed, 25 Aug 2021 12:09:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210811164518.187497-1-masahiroy@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/11/21 6:45 PM, Masahiro Yamada wrote: > Use obj-y to clean up Makefile. > > Signed-off-by: Masahiro Yamada > --- > > arch/microblaze/Kbuild | 4 ++++ > arch/microblaze/Makefile | 5 ----- > 2 files changed, 4 insertions(+), 5 deletions(-) > > diff --git a/arch/microblaze/Kbuild b/arch/microblaze/Kbuild > index a4e40e534e6a..a1c597889319 100644 > --- a/arch/microblaze/Kbuild > +++ b/arch/microblaze/Kbuild > @@ -1 +1,5 @@ > # SPDX-License-Identifier: GPL-2.0-only > +obj-y += kernel/ > +obj-y += mm/ > +obj-$(CONFIG_PCI) += pci/ > +obj-y += boot/dts/ > diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile > index 6d4af39e3890..9adc6b6434df 100644 > --- a/arch/microblaze/Makefile > +++ b/arch/microblaze/Makefile > @@ -50,17 +50,12 @@ KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-y) $(CPUFLAGS-1) $(CPUFLAGS-2) > > head-y := arch/microblaze/kernel/head.o > libs-y += arch/microblaze/lib/ > -core-y += arch/microblaze/kernel/ > -core-y += arch/microblaze/mm/ > -core-$(CONFIG_PCI) += arch/microblaze/pci/ > > boot := arch/microblaze/boot > > # Are we making a simpleImage. target? If so, crack out the boardname > DTB:=$(subst simpleImage.,,$(filter simpleImage.%, $(MAKECMDGOALS))) > > -core-y += $(boot)/dts/ > - > export DTB > > all: linux.bin > Applied. M -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs