60d6847de5
The MKNET variable can be used to select the network stack you want to build and install with OpenRC. The current default is the gentoo "oldnet" stack. If you want to install the OpenRC newnet stack, use MKNET=newnet on the make command line.
26 lines
509 B
Makefile
26 lines
509 B
Makefile
DIR= ${CONFDIR}
|
|
CONF= bootmisc fsck hostname localmount urandom ${CONF-${OS}}
|
|
|
|
ifeq (${MKNET},newnet)
|
|
CONF+= network staticroute
|
|
TARGETS+= network staticroute
|
|
CLEANFILES+= network staticroute
|
|
endif
|
|
|
|
MK= ../mk
|
|
include ${MK}/os.mk
|
|
|
|
CONF-FreeBSD= ipfw moused powerd rarpd savecore syscons
|
|
|
|
CONF-Linux= consolefont dmesg hwclock keymaps killprocs modules
|
|
|
|
CONF-NetBSD= moused rarpd savecore
|
|
|
|
include ${MK}/scripts.mk
|
|
|
|
network: network.in network${SFX}
|
|
cat $^ > $@
|
|
|
|
staticroute: staticroute${SFX}
|
|
cp $@${SFX} $@
|