31006b5c68
the root filesystem without full reboot, using "reboot -r". This can be used to to eg. boot from a temporary md_image preloaded by loader(8), setup an iSCSI session, and continue booting from rootfs mounted over iSCSI. Reviewed by: kib@, bapt@ MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3693
20 lines
355 B
Makefile
20 lines
355 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $FreeBSD$
|
|
|
|
PROG= init
|
|
SRCS= init.c getmntopts.c
|
|
MAN= init.8
|
|
PRECIOUSPROG=
|
|
INSTALLFLAGS=-b -B.bak
|
|
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
|
LIBADD= util crypt
|
|
|
|
# Needed for getmntopts.c
|
|
MOUNT= ${.CURDIR}/../../sbin/mount
|
|
CFLAGS+=-I${MOUNT}
|
|
.PATH: ${MOUNT}
|
|
|
|
NO_SHARED?= YES
|
|
|
|
.include <bsd.prog.mk>
|