From 60d6847de553970a80207fde6bd46f5f3696e049 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 10 Jul 2012 01:59:28 -0500 Subject: add the MKNET variable to select a network stack 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. --- conf.d/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conf.d/Makefile') diff --git a/conf.d/Makefile b/conf.d/Makefile index d5f85c30..412efae6 100644 --- a/conf.d/Makefile +++ b/conf.d/Makefile @@ -1,9 +1,11 @@ DIR= ${CONFDIR} -CONF= bootmisc fsck hostname localmount network staticroute urandom \ - ${CONF-${OS}} +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 -- cgit v1.2.3