Install loader(8) and zfsloader(8) only once

Differential Revision:	https://reviews.freebsd.org/D2841
Reviewed by:	imp
This commit is contained in:
Baptiste Daroussin 2015-06-19 05:42:24 +00:00
parent 398e498e49
commit bda8af6860
4 changed files with 13 additions and 5 deletions

View File

@ -8,6 +8,8 @@ SUBDIR+= ficl
SUBDIR+= forth
.endif
SUBDIR+= common
.include <bsd.arch.inc.mk>
# Pick the machine-dependent subdir based on the target architecture.

10
sys/boot/common/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $FreeBSD$
.include <src.opts.mk>
MAN+= loader.8
.if ${MK_ZFS} != "no"
MAN+= zfsloader.8
.endif
.include <bsd.prog.mk>

View File

@ -68,8 +68,3 @@ CFLAGS+= -DBOOT_PROMPT_123
SRCS+= install.c
CFLAGS+=-I${.CURDIR}/../../../../lib/libstand
.endif
MAN+= loader.8
.if ${MK_ZFS} != "no"
MAN+= zfsloader.8
.endif

View File

@ -5,6 +5,7 @@ MK_SSP= no
LOADER?= loader
PROG= ${LOADER}.sym
MAN=
INTERNALPROG=
NEWVERSWHAT?= "bootstrap loader" x86