3 # The include file <dtb.mk> handles building and installing dtb files.
7 # DTC The Device Tree Compiler to use
9 # DTS List of the dts files to build and install.
11 # DTSO List of the dts overlay files to build and install.
13 # DTBDIR Base path for dtb modules [/boot/dtb]
15 # DTBOWN .dtb file owner. [${BINOWN}]
17 # DTBGRP .dtb file group. [${BINGRP}]
19 # DTBMODE Module file mode. [${BINMODE}]
21 # DESTDIR The tree where the module gets installed. [not set]
26 # install the kernel module; if the Makefile
27 # does not itself define the target install, the targets
28 # beforeinstall and afterinstall may also be used to cause
29 # actions immediately before and after the install target
33 .include "dtb.build.mk"
35 .if !target(install) && !target(realinstall)
37 realinstall: _dtbinstall
38 .ORDER: beforeinstall _dtbinstall
40 CLEANFILES+=${DTB} ${DTBO}
41 .endif # !target(install) && !target(realinstall)
45 .include <bsd.links.mk>