[PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

Tom Rini trini at konsulko.com
Mon Sep 25 20:19:40 CEST 2023


On Mon, Sep 25, 2023 at 10:27:43AM +0200, Rasmus Villemoes wrote:
> On 04/05/2023 14.35, Rasmus Villemoes wrote:
> > On 03/05/2023 16.54, Tom Rini wrote:
> 
> >> The one last problem now is on stm32mp15_dhcor_basic which is a
> >> defconfig missing one from OF_LIST but including it in the its file, so
> >> the above is the patch we need.
> >>
> > 
> > Hm, well, for now I think at least all .dtbo targets need to be left in
> > the Makefiles, since nothing in the defconfig tells us to build those.
> 
> Hi Tom
> 
> Can I persuade you to try something like
> https://source.denx.de/u-boot/u-boot/-/commit/a05e0d0e6b9103542a1076f9cab0005f400fa072
> again, but leaving the .dtbo targets in there?
> 
> I could send a patch, but it's entirely mechanical, and not really meant
> for being applied until we know if there's more to be cleaned up.

So what ended up being the problem I think is the case Simon pointed out
where we do take the output from "make all" and concatenate one of the
dtbs that was generated with u-boot.img or so, and it works.  But maybe
that should just list all of the valid DTBs that it needs in the
defconfig to start with? I don't quite know, it was a case I hadn't
considered at the time.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230925/f043739f/attachment.sig>


More information about the U-Boot mailing list