2015-01-08 18:28:06 +00:00
|
|
|
#
|
|
|
|
# The include file <dtb.mk> handles building and installing dtb files.
|
|
|
|
#
|
|
|
|
# +++ variables +++
|
|
|
|
#
|
2017-06-17 23:34:53 +00:00
|
|
|
# DTC The Device Tree Compiler to use
|
|
|
|
#
|
2015-01-08 18:28:06 +00:00
|
|
|
# DTS List of the dts files to build and install.
|
|
|
|
#
|
2019-03-26 02:45:23 +00:00
|
|
|
# DTSO List of the dts overlay files to build and install.
|
|
|
|
#
|
2015-01-08 18:28:06 +00:00
|
|
|
# DTBDIR Base path for dtb modules [/boot/dtb]
|
|
|
|
#
|
|
|
|
# DTBOWN .dtb file owner. [${BINOWN}]
|
|
|
|
#
|
|
|
|
# DTBGRP .dtb file group. [${BINGRP}]
|
|
|
|
#
|
|
|
|
# DTBMODE Module file mode. [${BINMODE}]
|
|
|
|
#
|
|
|
|
# DESTDIR The tree where the module gets installed. [not set]
|
|
|
|
#
|
|
|
|
# +++ targets +++
|
|
|
|
#
|
2019-03-26 02:45:23 +00:00
|
|
|
# install:
|
2015-01-08 18:28:06 +00:00
|
|
|
# install the kernel module; if the Makefile
|
|
|
|
# does not itself define the target install, the targets
|
|
|
|
# beforeinstall and afterinstall may also be used to cause
|
|
|
|
# actions immediately before and after the install target
|
|
|
|
# is executed.
|
|
|
|
#
|
|
|
|
|
2019-03-26 02:45:23 +00:00
|
|
|
.include "dtb.build.mk"
|
2015-01-08 18:28:06 +00:00
|
|
|
|
2019-03-26 02:45:23 +00:00
|
|
|
.if !target(install) && !target(realinstall)
|
2018-03-24 21:30:24 +00:00
|
|
|
all: ${DTB} ${DTBO}
|
2015-01-08 18:28:06 +00:00
|
|
|
realinstall: _dtbinstall
|
2019-03-26 02:45:23 +00:00
|
|
|
.ORDER: beforeinstall _dtbinstall
|
|
|
|
|
|
|
|
CLEANFILES+=${DTB} ${DTBO}
|
|
|
|
.endif # !target(install) && !target(realinstall)
|
2015-01-08 18:28:06 +00:00
|
|
|
|
|
|
|
.include <bsd.dep.mk>
|
|
|
|
.include <bsd.obj.mk>
|
2017-01-28 05:07:53 +00:00
|
|
|
.include <bsd.links.mk>
|