* what is the point of "dt-bindings" symlinks under some arches?
@ 2016-05-22 7:25 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2016-05-22 7:25 UTC (permalink / raw)
To: kernelnewbies
i'm curious about the value of the small number of "dt-bindings"
symlinks under some architectures that all simply link to the
top-level include/dt-bindings/ directory:
$ find . -name dt-bindings -exec ls -ld {} \;
lrwxrwxrwx. 1 rpjday rpjday 34 Apr 26 13:07 ./arch/cris/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
lrwxrwxrwx. 1 rpjday rpjday 34 Apr 25 10:58 ./arch/powerpc/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
lrwxrwxrwx. 1 rpjday rpjday 34 Apr 25 10:57 ./arch/metag/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
lrwxrwxrwx. 1 rpjday rpjday 34 Apr 25 10:57 ./arch/arm64/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
lrwxrwxrwx. 1 rpjday rpjday 34 Apr 25 10:57 ./arch/arm/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
lrwxrwxrwx. 1 rpjday rpjday 34 Apr 25 10:57 ./arch/mips/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
drwxrwxr-x. 26 rpjday rpjday 4096 Apr 26 13:07 ./include/dt-bindings
$
normally, i expect to see setups like that in cases where,
historically, an architecture kept track of its own content and, at
some point, it was centralized, so the previous directory (whatever it
contained) was simply replaced by a symlink.
but even without that arch-specific symlink, wouldn't the top-level
include/dt-bindings/ directory be searched, anyway? or maybe not, i
guess i'll check the Makefile to see if it would be.
thoughts? given that all those symlinks are absolutely identical,
couldn't they all just be removed?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-22 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-22 7:25 what is the point of "dt-bindings" symlinks under some arches? Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).