From patchwork Sun Feb 19 14:15:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13145883 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AADF5C64EC4 for ; Sun, 19 Feb 2023 14:16:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230050AbjBSOQ1 (ORCPT ); Sun, 19 Feb 2023 09:16:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbjBSOQX (ORCPT ); Sun, 19 Feb 2023 09:16:23 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6EC4E3BF; Sun, 19 Feb 2023 06:16:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3D7EF60C1E; Sun, 19 Feb 2023 14:16:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6175C4339B; Sun, 19 Feb 2023 14:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676816180; bh=BqvNL4z/UoB9dOUirlrYrge5KkBaM56X6vW7byxa1NQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eh9g1i6ltIJaKeZXIFwrhYBOVzbBH+s9K5nOu/rEnBU6ihKJpvfiFj6jd0oqV/kGi tdgKxBc2d2ui0a/g1q4xXzE8rv9wHdHHl5czwzztpttn+3DxDErdE3oCkW5c2UbIyz 89Fk+OZkAqGZZovU6ZGPe+bvLq0wD0ltzBfj8meuiiV1nm2LX+uNSB1kzEQaz2jPp6 aCapvZnrsli7QqfgivSeLm73M6gH3N7x46ctYe3rRceiAZWoIcTWqjpQ4ht42RlapX /ERBCENd2fvXn/kD1Uyn9cfl9AKqLm1Tckwp0WZA3uzOo5oNVZ9Yg4DvxTsLCRXFnA 1oTtxU+hTTEWg== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Randy Dunlap , Masahiro Yamada , Rich Felker , Yoshinori Sato , linux-sh@vger.kernel.org Subject: [PATCH 2/4] sh: move build rule of cchips/hd6446x/ to arch/sh/Kbuild Date: Sun, 19 Feb 2023 23:15:53 +0900 Message-Id: <20230219141555.2308306-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230219141555.2308306-1-masahiroy@kernel.org> References: <20230219141555.2308306-1-masahiroy@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org This is the last user of core-y in ARCH=sh. Use the standard obj-y syntax. Signed-off-by: Masahiro Yamada Acked-by: Randy Dunlap Tested-by: Randy Dunlap Reviewed-by: John Paul Adrian Glaubitz --- arch/sh/Kbuild | 2 ++ arch/sh/Makefile | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/sh/Kbuild b/arch/sh/Kbuild index be171880977e..056efec72c2a 100644 --- a/arch/sh/Kbuild +++ b/arch/sh/Kbuild @@ -3,5 +3,7 @@ obj-y += kernel/ mm/ boards/ obj-$(CONFIG_SH_FPU_EMU) += math-emu/ obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/ +obj-$(CONFIG_HD6446X_SERIES) += cchips/hd6446x/ + # for cleaning subdir- += boot diff --git a/arch/sh/Makefile b/arch/sh/Makefile index a9cad5137f92..0625796cfe7f 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -126,9 +126,6 @@ machdir-$(CONFIG_SH_X3PROTO) += mach-x3proto machdir-$(CONFIG_SH_LANDISK) += mach-landisk machdir-y += mach-common -# Companion chips -core-$(CONFIG_HD6446X_SERIES) += arch/sh/cchips/hd6446x/ - # # CPU header paths #