mbox series

[0/7] kbuild: more misc cleanups

Message ID 20220406153023.500847-1-masahiroy@kernel.org (mailing list archive)
Headers show
Series kbuild: more misc cleanups | expand

Message

Masahiro Yamada April 6, 2022, 3:30 p.m. UTC
I sent the first batch of cleanups:
https://lore.kernel.org/linux-kbuild/20220405113359.2880241-1-masahiroy@kernel.org/T/#t

I took 01-06, 09-10.
I dropped 07, 08.

This is the second batch.



Masahiro Yamada (7):
  kbuild: reuse suffix-search to refactor multi_depend
  kbuild: make multi_depend work with targets in subdirectory
  kbuild: reuse real-search to simplify cmd_mod
  kbuild: split the second line of *.mod into *.usyms
  kbuild: get rid of duplication in *.mod files
  kbuild: make *.mod not depend on *.o
  kbuild: read *.mod to get objects passed to $(LD) or $(AR)

 .gitignore                  |  1 +
 Makefile                    |  5 +++--
 scripts/Makefile.build      | 31 ++++++++++++++-----------------
 scripts/Makefile.lib        |  6 +++---
 scripts/adjust_autoksyms.sh |  2 +-
 scripts/gen_autoksyms.sh    | 18 +++++++++++-------
 scripts/mod/sumversion.c    | 11 ++---------
 7 files changed, 35 insertions(+), 39 deletions(-)

Comments

Masahiro Yamada April 15, 2022, 7:20 a.m. UTC | #1
On Thu, Apr 7, 2022 at 12:32 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
>
> I sent the first batch of cleanups:
> https://lore.kernel.org/linux-kbuild/20220405113359.2880241-1-masahiroy@kernel.org/T/#t
>
> I took 01-06, 09-10.
> I dropped 07, 08.
>
> This is the second batch.
>

Applied to linux-kbuild.


>
>
> Masahiro Yamada (7):
>   kbuild: reuse suffix-search to refactor multi_depend
>   kbuild: make multi_depend work with targets in subdirectory
>   kbuild: reuse real-search to simplify cmd_mod
>   kbuild: split the second line of *.mod into *.usyms
>   kbuild: get rid of duplication in *.mod files
>   kbuild: make *.mod not depend on *.o
>   kbuild: read *.mod to get objects passed to $(LD) or $(AR)
>
>  .gitignore                  |  1 +
>  Makefile                    |  5 +++--
>  scripts/Makefile.build      | 31 ++++++++++++++-----------------
>  scripts/Makefile.lib        |  6 +++---
>  scripts/adjust_autoksyms.sh |  2 +-
>  scripts/gen_autoksyms.sh    | 18 +++++++++++-------
>  scripts/mod/sumversion.c    | 11 ++---------
>  7 files changed, 35 insertions(+), 39 deletions(-)
>
> --
> 2.32.0
>
Elliot Berman April 22, 2022, 7:07 p.m. UTC | #2
Hi Masahiro,

On 4/15/2022 12:20 AM, Masahiro Yamada wrote:
> On Thu, Apr 7, 2022 at 12:32 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>>
>>
>> I sent the first batch of cleanups:
>> https://lore.kernel.org/linux-kbuild/20220405113359.2880241-1-masahiroy@kernel.org/T/#t
>>
>> I took 01-06, 09-10.
>> I dropped 07, 08.
>>
>> This is the second batch.
>>
> 
> Applied to linux-kbuild.
> 
> 

I didn't see the last patch (kbuild: read *.mod to get objects passed to 
$(LD) or $(AR)) applied. Was the last patch intentionally skipped?

>>
>>
>> Masahiro Yamada (7):
>>    kbuild: reuse suffix-search to refactor multi_depend
>>    kbuild: make multi_depend work with targets in subdirectory
>>    kbuild: reuse real-search to simplify cmd_mod
>>    kbuild: split the second line of *.mod into *.usyms
>>    kbuild: get rid of duplication in *.mod files
>>    kbuild: make *.mod not depend on *.o
>>    kbuild: read *.mod to get objects passed to $(LD) or $(AR)
>>
>>   .gitignore                  |  1 +
>>   Makefile                    |  5 +++--
>>   scripts/Makefile.build      | 31 ++++++++++++++-----------------
>>   scripts/Makefile.lib        |  6 +++---
>>   scripts/adjust_autoksyms.sh |  2 +-
>>   scripts/gen_autoksyms.sh    | 18 +++++++++++-------
>>   scripts/mod/sumversion.c    | 11 ++---------
>>   7 files changed, 35 insertions(+), 39 deletions(-)
>>
>> --
>> 2.32.0
>>
> 
>
Masahiro Yamada April 23, 2022, 5:02 a.m. UTC | #3
On Sat, Apr 23, 2022 at 4:07 AM Elliot Berman <quic_eberman@quicinc.com> wrote:
>
> Hi Masahiro,
>
> On 4/15/2022 12:20 AM, Masahiro Yamada wrote:
> > On Thu, Apr 7, 2022 at 12:32 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
> >>
> >>
> >> I sent the first batch of cleanups:
> >> https://lore.kernel.org/linux-kbuild/20220405113359.2880241-1-masahiroy@kernel.org/T/#t
> >>
> >> I took 01-06, 09-10.
> >> I dropped 07, 08.
> >>
> >> This is the second batch.
> >>
> >
> > Applied to linux-kbuild.
> >
> >
>
> I didn't see the last patch (kbuild: read *.mod to get objects passed to
> $(LD) or $(AR)) applied. Was the last patch intentionally skipped?


I do not know why but something wrong happened to my git operation.
I will apply it.
Thanks for pointing it out.







> >>
> >>
> >> Masahiro Yamada (7):
> >>    kbuild: reuse suffix-search to refactor multi_depend
> >>    kbuild: make multi_depend work with targets in subdirectory
> >>    kbuild: reuse real-search to simplify cmd_mod
> >>    kbuild: split the second line of *.mod into *.usyms
> >>    kbuild: get rid of duplication in *.mod files
> >>    kbuild: make *.mod not depend on *.o
> >>    kbuild: read *.mod to get objects passed to $(LD) or $(AR)
> >>
> >>   .gitignore                  |  1 +
> >>   Makefile                    |  5 +++--
> >>   scripts/Makefile.build      | 31 ++++++++++++++-----------------
> >>   scripts/Makefile.lib        |  6 +++---
> >>   scripts/adjust_autoksyms.sh |  2 +-
> >>   scripts/gen_autoksyms.sh    | 18 +++++++++++-------
> >>   scripts/mod/sumversion.c    | 11 ++---------
> >>   7 files changed, 35 insertions(+), 39 deletions(-)
> >>
> >> --
> >> 2.32.0
> >>
> >
> >