Thread (1 message) 1 message, 1 author, 2013-11-20

[PATCH V4] kbuild: dtbs_install: new make target

From: Grant Likely <hidden>
Date: 2013-11-20 13:21:58
Also in: linux-devicetree

On Tue, 19 Nov 2013 14:58:05 -0700, Stephen Warren [off-list ref] wrote:
On 11/19/2013 02:27 PM, Jason Cooper wrote:
quoted
Unlike other build products in the Linux kernel, there is no 'make
*install' mechanism to put devicetree blobs in a standard place.

This patch is an attempt to fix this problem.  Akin to 'make install',
this creates a new make target, dtbs_install.  The script that gets
called defers to a distribution or user supplied installdtbs binary,
if found in the system.  Otherwise, the default action is to install a
given dtb into

  /lib/modules/${kernel_version}/devicetree/${dts_filename}.dtb
I still don't see why you wouldn't install the files in
/lib/devicetrees, but I suppose that location is fine.
/boot/devicetrees/${kernel_version} would be my choice. /boot is more
likely to be available to firmware than /lib would be.

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help