2015-01-08 19:28:06 +01:00
|
|
|
#
|
|
|
|
# The include file <dtb.mk> handles building and installing dtb files.
|
|
|
|
#
|
|
|
|
# +++ variables +++
|
|
|
|
#
|
2017-06-18 01:34:53 +02:00
|
|
|
# DTC The Device Tree Compiler to use
|
|
|
|
#
|
2015-01-08 19:28:06 +01:00
|
|
|
# DTS List of the dts files to build and install.
|
|
|
|
#
|
2019-03-26 03:45:23 +01:00
|
|
|
# DTSO List of the dts overlay files to build and install.
|
|
|
|
#
|
2015-01-08 19:28:06 +01: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 03:45:23 +01:00
|
|
|
# install:
|
2015-01-08 19:28:06 +01: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 03:45:23 +01:00
|
|
|
.include "dtb.build.mk"
|
2015-01-08 19:28:06 +01:00
|
|
|
|
2019-03-26 03:45:23 +01:00
|
|
|
.if !target(install) && !target(realinstall)
|
2018-03-24 22:30:24 +01:00
|
|
|
all: ${DTB} ${DTBO}
|
2015-01-08 19:28:06 +01:00
|
|
|
realinstall: _dtbinstall
|
2019-03-26 03:45:23 +01:00
|
|
|
.ORDER: beforeinstall _dtbinstall
|
|
|
|
|
|
|
|
CLEANFILES+=${DTB} ${DTBO}
|
|
|
|
.endif # !target(install) && !target(realinstall)
|
2015-01-08 19:28:06 +01:00
|
|
|
|
|
|
|
.include <bsd.dep.mk>
|
|
|
|
.include <bsd.obj.mk>
|
2017-01-28 06:07:53 +01:00
|
|
|
.include <bsd.links.mk>
|