0c38f15ac7
For directories that don't many anything, add NO_OBJ=t just before we include bsd.init.mk. This prevents them from creating an OBJ directory. In addition, prevent defs.mk from creating the machine related links in these cases. They aren't needed and break, at least on stable, the read-only src tree build.
28 lines
422 B
Makefile
28 lines
422 B
Makefile
# $FreeBSD$
|
|
|
|
NO_OBJ=t
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \
|
|
libi386
|
|
|
|
.if ${MK_LOADER_FIREWIRE} == "yes"
|
|
SUBDIR+= libfirewire
|
|
.endif
|
|
|
|
SUBDIR+= loader
|
|
|
|
# special boot programs, 'self-extracting boot2+loader'
|
|
SUBDIR+= pxeldr
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
SUBDIR+= kgzldr
|
|
.endif
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
SUBDIR+= zfsboot gptzfsboot zfsloader
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|