mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
c272e67f7c
Userspace part of reroot support. This makes it possible to change 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. Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3693
21 lines
388 B
Makefile
21 lines
388 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
|
|
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
|
LDADD= -lutil -lcrypt
|
|
|
|
# Needed for getmntopts.c
|
|
MOUNT= ${.CURDIR}/../../sbin/mount
|
|
CFLAGS+=-I${MOUNT}
|
|
.PATH: ${MOUNT}
|
|
|
|
NO_SHARED?= YES
|
|
|
|
.include <bsd.prog.mk>
|