2 # The include file <dtb.mk> handles building and installing dtb files.
6 # DTC The Device Tree Compiler to use
8 # DTS List of the dts files to build and install.
10 # DTSO List of the dts overlay files to build and install.
12 # DTBDIR Base path for dtb modules [/boot/dtb]
14 # DTBOWN .dtb file owner. [${BINOWN}]
16 # DTBGRP .dtb file group. [${BINGRP}]
18 # DTBMODE Module file mode. [${BINMODE}]
20 # DESTDIR The tree where the module gets installed. [not set]
25 # install the kernel module; if the Makefile
26 # does not itself define the target install, the targets
27 # beforeinstall and afterinstall may also be used to cause
28 # actions immediately before and after the install target
32 .include "dtb.build.mk"
34 .if !target(install) && !target(realinstall)
36 realinstall: _dtbinstall
37 .ORDER: beforeinstall _dtbinstall
39 CLEANFILES+=${DTB} ${DTBO}
40 .endif # !target(install) && !target(realinstall)
44 .include <bsd.links.mk>