Message ID | CAK7LNATbZgv6JNzSXznOm47oNUXku430-taoK4iE1G0YcBy4Lw@mail.gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [GIT,PULL] Kbuild updates for v6.11-rc1 | expand |
The pull request you sent on Wed, 24 Jul 2024 04:44:06 +0900:
> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v6.11
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ca83c61cb3db964061ea186654bf8e1879589de3
Thank you!
On Tue, 23 Jul 2024 at 12:44, Masahiro Yamada <masahiroy@kernel.org> wrote: > > You will get a merge conflict in scripts/Makefile.lib So the merge conflict certainly wasn't too bad, but I really don't love the complex fdtoverlay command duplication. Strangely enough, there's a simplification for the DT_CHECK_CMD case (used only once), but not for this creation case (now duplicate). I didn't do it as part of the merge, but may I suggest adding something like DT_CREATE_CMD = $(objtree)/scripts/dtc/fdtoverlay -i $(filter %.dtb %.dtbo, $^) -o and then using $(DT_CREATE_CMD) $@ to pair up with the existing "$(DT_CHECK_CMD) $@" logic? Or something along those lines? (And no, I didn't check whether maybe the argument order for the 'fdtoverlay' script might matter, or something like that - I don't think it does, but I did *not* test the above suggestion or really try to think about it deeply, just mostly a reaction against the command duplication particularly when there is now a comment about the subtlety of the arguments) Linus
Hi Linus, On Wed, Jul 24, 2024 at 6:49 AM Linus Torvalds <torvalds@linux-foundation.org> wrote: > > On Tue, 23 Jul 2024 at 12:44, Masahiro Yamada <masahiroy@kernel.org> wrote: > > > > You will get a merge conflict in scripts/Makefile.lib > > So the merge conflict certainly wasn't too bad, but I really don't > love the complex fdtoverlay command duplication. > > Strangely enough, there's a simplification for the DT_CHECK_CMD case > (used only once), but not for this creation case (now duplicate). > > I didn't do it as part of the merge, but may I suggest adding something like > > DT_CREATE_CMD = $(objtree)/scripts/dtc/fdtoverlay -i $(filter %.dtb > %.dtbo, $^) -o > > and then using > > $(DT_CREATE_CMD) $@ > > to pair up with the existing "$(DT_CHECK_CMD) $@" logic? > > Or something along those lines? I deduplicated the code in a slightly different way. https://lore.kernel.org/lkml/20240725192317.258132-1-masahiroy@kernel.org/T/#u Anyway, this is not an urgent issue. I will include it in my next pull request. > > (And no, I didn't check whether maybe the argument order for the > 'fdtoverlay' script might matter, or something like that - I don't > think it does, but I did *not* test the above suggestion or really try > to think about it deeply, just mostly a reaction against the command > duplication particularly when there is now a comment about the > subtlety of the arguments) > > Linus -- Best Regards Masahiro Yamada
On Thu, 25 Jul 2024 at 12:30, Masahiro Yamada <masahiroy@kernel.org> wrote: > > I deduplicated the code in a slightly different way. Thanks, looks fine (from just a quick look at the patch), Linus