diff mbox series

[2/4] sh: move build rule of cchips/hd6446x/ to arch/sh/Kbuild

Message ID 20230219141555.2308306-2-masahiroy@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/4] sh: fix -Wmissing-include-dirs warnings for various platforms | expand

Commit Message

Masahiro Yamada Feb. 19, 2023, 2:15 p.m. UTC
This is the last user of core-y in ARCH=sh.

Use the standard obj-y syntax.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/sh/Kbuild   | 2 ++
 arch/sh/Makefile | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

Comments

Randy Dunlap Feb. 19, 2023, 5:05 p.m. UTC | #1
On 2/19/23 06:15, Masahiro Yamada wrote:
> This is the last user of core-y in ARCH=sh.
> 
> Use the standard obj-y syntax.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
> 
>  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
>  #
John Paul Adrian Glaubitz July 4, 2023, 5:28 a.m. UTC | #2
Hi Masahiro!

On Sun, 2023-02-19 at 23:15 +0900, Masahiro Yamada wrote:
> This is the last user of core-y in ARCH=sh.
> 
> Use the standard obj-y syntax.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
> 
>  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
>  #

Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
diff mbox series

Patch

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
 #