mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
Currently, files in /boot (other than /boot/kernel) are assigned to the bootloader package using a filename match in mtree-to-plist.awk. This causes some problems, most notably that debug info for userboot ends up in the utilities-dbg package instead of bootloader-dbg. Remove the path handling from mtree-to-plist and instead set PACKAGE in the appropriate Makefiles to put these in the correct package. While here, move userboot*.so from bootloader-dev to bootloader. MFC after: 3 days Reviewed by: cperciva Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53179
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
#
|
|
# The include file <dtb.mk> handles building and installing dtb files.
|
|
#
|
|
# +++ variables +++
|
|
#
|
|
# DTC The Device Tree Compiler to use
|
|
#
|
|
# DTS List of the dts files to build and install.
|
|
#
|
|
# DTSO List of the dts overlay files to build and install.
|
|
#
|
|
# 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 +++
|
|
#
|
|
# install:
|
|
# 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.
|
|
#
|
|
|
|
.include "dtb.build.mk"
|
|
|
|
PACKAGE?= dtb
|
|
|
|
.if !target(install) && !target(realinstall)
|
|
all: ${DTB} ${DTBO}
|
|
realinstall: _dtbinstall
|
|
.ORDER: beforeinstall _dtbinstall
|
|
|
|
CLEANFILES+=${DTB} ${DTBO}
|
|
.endif # !target(install) && !target(realinstall)
|
|
|
|
.include <bsd.dep.mk>
|
|
.include <bsd.obj.mk>
|
|
.include <bsd.links.mk>
|