On Thu, Oct 28, 2010 at 11:26 AM, Dirk Brandewie <[email protected]> wrote: > On 10/27/2010 05:57 PM, David VomLehn wrote: [...] >> You might then use: >> >> obj-y += $(addprefix .dtb.o,$(PLATFORM_DTB)) >> >> to add blob names, but I'm not completely confident this is the way to go. > > I am still trying to settle on the right way to specify the DTB to be linked > in > that won't generate a lot of hate from the build/distribution people where > they > are supporting multiple platforms with/without the need of the DTB.
Take a look at the arch/powerpc/boot/Makefile where multiple images are produced depending on the build target. There are cuImage.% targets which link in a different .dtb file based on the % part of the target. That allows images for multiple machines to be build from a single config, rather than depending on a magic setting in the .config file. g. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
