[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASEOS5Sepr9YcfpDRA_ewrwP0s498tgn7A-BVbeZDkjqw@mail.gmail.com>
Date: Fri, 26 Jul 2019 09:20:13 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Russell King - ARM Linux admin <linux@...linux.org.uk>
Cc: patches@....linux.org.uk,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: visit mach-* and plat-* directories when cleaning
On Fri, Jul 26, 2019 at 1:46 AM Russell King - ARM Linux admin
<linux@...linux.org.uk> wrote:
>
> On Fri, Jul 19, 2019 at 01:35:23AM +0900, Masahiro Yamada wrote:
> > When you run "make clean" for arm, it never visits mach-* or plat-*
> > directories because machine-y and plat-y are just empty.
> >
> > When cleaning, all machine, plat directories are accumulated to
> > machine-, plat-, respectively. So, let's pass them to core- to
> > clean up those directories.
>
> You don't say what actual, real-life issue this patch is solving.
> Which files are left behind by a "make clean" ?
>
> From what I can see, this only matters if there are extra files that
> are generated (and have set extra-* or clean-*). Everything else is
> cleaned up via the big find command in the top level makefile.
>
> Or is this a "it would be nice if..." patch?
>
This is a prerequisite for the following:
https://lore.kernel.org/patchwork/patch/1059150/
https://lore.kernel.org/patchwork/patch/1059149/
If this patch lands in upstream, I will resend them.
The motivation of the two is to avoid unneeded
re-compilation of kernel/kheaders_data.tar.xz
This is a race condition between
scripts/gen_kheaders.sh and arch/arm/mach-{at91,omap2}/Makefile
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists