mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
This separates out the install media-specific environment (creating bsdinstall_etc) from actually running the installer on a given console. This will be used by a future change to start the installer on multiple consoles. Reviewed by: brooks, gjb Differential Revision: https://reviews.freebsd.org/D36803
21 lines
480 B
Makefile
21 lines
480 B
Makefile
# $FreeBSD$
|
|
|
|
OSNAME?= FreeBSD
|
|
SUBDIR= distextract distfetch partedit runconsoles scripts
|
|
SUBDIR_PARALLEL=
|
|
SCRIPTS= bsdinstall
|
|
MAN= bsdinstall.8
|
|
PACKAGE= bsdinstall
|
|
GENHDRS= opt_osname.h
|
|
SRCS+= ${GENHDRS}
|
|
CLEANFILES+= ${GENHDRS}
|
|
|
|
SCRIPTS+= startbsdinstall
|
|
SCRIPTSDIR_startbsdinstall= ${LIBEXECDIR}/bsdinstall
|
|
|
|
opt_osname.h: .PHONY
|
|
if ! grep -q "^#define OSNAME \"${OSNAME}\"$"" ${.TARGET}; then \
|
|
echo "#define OSNAME \"${OSNAME}\"" > ${.TARGET}; \
|
|
fi
|
|
|
|
.include <bsd.prog.mk>
|