From patchwork Wed Aug 11 16:41:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12431579 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03645C4338F for ; Wed, 11 Aug 2021 16:42:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8A6A61058 for ; Wed, 11 Aug 2021 16:42:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbhHKQm2 (ORCPT ); Wed, 11 Aug 2021 12:42:28 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:29574 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbhHKQmY (ORCPT ); Wed, 11 Aug 2021 12:42:24 -0400 Received: from localhost.localdomain (133-32-232-101.west.xps.vectant.ne.jp [133.32.232.101]) (authenticated) by conuserg-08.nifty.com with ESMTP id 17BGfJMe000861; Thu, 12 Aug 2021 01:41:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 17BGfJMe000861 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1628700079; bh=Rbj4LRb3BCdM0qtfZP8nAj3m5NMYkLYyA0Fn1DSu1qs=; h=From:To:Cc:Subject:Date:From; b=JSjLsq6vTZ2Ep+n4dFIsMUW/5qW6jwH9HzUPLs7pTfofVJAgLud1OtyFiPndf/qOg i0N/ApsF96BSvU+CJPZoUr+yqfhxkKGIJEM6wbicq33+JhHlmjmcJOs1ZiNdaaS9Gd 6K+fqwrymStYFezQ43qHTma2PpCvSY68Lj49m/ec6yKys5vzUWkGv51soDuqx6aQ6s uuVxXnY3vyqxUzJji2P7F2dnDRqoBV6dYhPHlsIB5CZ78RmJ/GzRMBzgFOZ31kpvzG DzLuw442JLR0xAgPsExgXmmdu6ruTlUJfcIBZRUuymgvC0O3t6nAPPFoWRVAFSE3cn D5/VTW2o5sSZA== X-Nifty-SrcIP: [133.32.232.101] From: Masahiro Yamada To: "James E . J . Bottomley" , Helge Deller , linux-parisc@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] parisc: move core-y in arch/parisc/Makefile to arch/parisc/Kbuild Date: Thu, 12 Aug 2021 01:41:16 +0900 Message-Id: <20210811164116.186844-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Use obj-y to clean up Makefile. Signed-off-by: Masahiro Yamada --- arch/parisc/Kbuild | 1 + arch/parisc/Makefile | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/parisc/Kbuild b/arch/parisc/Kbuild index a4e40e534e6a..3c068b700a81 100644 --- a/arch/parisc/Kbuild +++ b/arch/parisc/Kbuild @@ -1 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-y += mm/ kernel/ math-emu/ diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index aed8ea29268b..6c27940eff03 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -111,9 +111,6 @@ KBUILD_CFLAGS += $(cflags-y) LIBGCC := $(shell $(CC) -print-libgcc-file-name) export LIBGCC -kernel-y := mm/ kernel/ math-emu/ - -core-y += $(addprefix arch/parisc/, $(kernel-y)) libs-y += arch/parisc/lib/ $(LIBGCC) boot := arch/parisc/boot