From: rpjday@crashcourse.ca (Robert P. J. Day)
To: kernelnewbies@lists.kernelnewbies.org
Subject: what is the point of "dt-bindings" symlinks under some arches?
Date: Sun, 22 May 2016 03:25:37 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.20.1605220320030.30826@localhost.localdomain> (raw)
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
========================================================================
reply other threads:[~2016-05-22 7:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.20.1605220320030.30826@localhost.localdomain \
--to=rpjday@crashcourse.ca \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).