Subject: Re: linux-next: manual merge of the arm-soc tree with the kbuild tree

From: Stephen Rothwell <[email-masked]>
Date: Wed, 22 Feb 2023 09:26:37 +1100

Hi all,

On Mon, 30 Jan 2023 09:56:38 +1100 Stephen Rothwell <[email-masked]> wrote:
> 
> Today's linux-next merge of the arm-soc tree got a conflict in:
> 
>   arch/arm/mach-s3c/Makefile
> 
> between commit:
> 
>   608d67522f28 ("kbuild: remove --include-dir MAKEFLAG from top Makefile")
> 
> from the kbuild tree and commits:
> 
>   61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
>   1ea35b355722 ("ARM: s3c: remove s3c24xx specific hacks")
> 
> from the arm-soc tree.
> 
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> diff --cc arch/arm/mach-s3c/Makefile
> index deb44326b828,988c49672715..000000000000
> --- a/arch/arm/mach-s3c/Makefile
> +++ b/arch/arm/mach-s3c/Makefile
> @@@ -2,13 -2,7 +2,7 @@@
>   #
>   # Copyright 2009 Simtec Electronics
>   
> - ifdef CONFIG_ARCH_S3C24XX
> - include $(srctree)/$(src)/Makefile.s3c24xx
> - endif
> - 
> - ifdef CONFIG_ARCH_S3C64XX
>  -include $(src)/Makefile.s3c64xx
>  +include $(srctree)/$(src)/Makefile.s3c64xx
> - endif
>   
>   # Objects we always build independent of SoC choice
>   

This is now a conflict between the kbuild tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell