]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fdt: stop installing FDT_DTS_FILE
authorkevans <kevans@FreeBSD.org>
Wed, 24 Apr 2019 01:11:50 +0000 (01:11 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 24 Apr 2019 01:11:50 +0000 (01:11 +0000)
commit21f6670fd2e9b5729b7964d6df4643bbac147220
treed54ab1d24a65a7b3b760859dbf243c3569fc543a
parent84609db9944644ea5c2fa462169ec25955deb38d
fdt: stop installing FDT_DTS_FILE

r346307 inadvertently started installing FDT_DTS_FILE along with the kernel.
While this isn't necessarily bad, it was not intended or discussed and it
actively breaks some current setups that don't anticipate any .dtb being
installed when it's using static fdt. This change could be reconsidered down
the line, but it needs to be done with prior discussion.

Fix it by pushing FDT_DTS_FILE build down into the raw dtb.build.mk bits.
This technically allows modules building DTS to accidentally specify an
FDT_DTS_FILE that gets built but isn't otherwise useful (since it's not
installed), but I suspect this isn't a big deal and would get caught with
any kind of testing -- and perhaps this might end up useful in some other
way, for example by some module wanting to embed fdt in some other way than
our current/normal mechanism.

Reported by: Mori Hiroki <yamori813@yahoo.co.jp>
MFC after: 3 days
X-MFC-With: r346307
sys/conf/dtb.build.mk
sys/conf/kern.post.mk