[RFC PATCH V2 2/2] kbuild: dtbs_install: new make target

Grant Likely grant.likely at secretlab.ca
Wed Nov 20 08:10:04 EST 2013


On Tue, 19 Nov 2013 19:22:46 +0000, Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:
> On Tue, Nov 19, 2013 at 03:21:46PM +0000, Russell King - ARM Linux wrote:
> > On Tue, Nov 19, 2013 at 10:20:47AM -0500, Jason Cooper wrote:
> > > By "That" are you referring to extending the standard for compatible
> > > strings to the board level, or forcing consistent naming on the dts
> > > files?
> > 
> > A consistent file naming on both the dtb and dts files.
> 
> It's time to knock the idea of naming the DT blobs after the compatible
> string on its head as well.  That's really not going to work.  Just
> leave the filenames as is, and move the problem into userspace to solve.
> 
[...]
> 
> Just use the filenames we already have in the kernel tree.  Let userspace
> parse the DT blobs for the compatible strings - it can then provide the
> user with the choice of all and _also_ show that certain of DT blobs
> may be compatible with a range of boards as well.

Yes, the consistent filename format is a non-problem. The files that
exist already have names. Nothing else is going to use them. Done. It
makes total sense to require that new files follow some sane naming
convention, but it is a mistake to project that back and say all
existing files must also be renamed.

Sure it may look untidy, particularly to those of us with
obsessive-compulsive tendencies, but it isn't actually a problem.

g.




More information about the linux-arm-kernel mailing list