aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-10 01:59:28 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-10 02:39:36 -0500
commit60d6847de553970a80207fde6bd46f5f3696e049 (patch)
treebcfd39c21b9300c55efb5f57e1d92f93fbdca8b1 /conf.d
parentecb4d7c3f2b5ff7588a288d24c0dd462012a0389 (diff)
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.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile6
1 files changed, 4 insertions, 2 deletions
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