314ae3dc78
This is based on a patch submitted by Joe Maloney <pkgdemonteam@gmail.com>. This fixes #91.
30 lines
583 B
Makefile
30 lines
583 B
Makefile
include ../mk/net.mk
|
|
|
|
DIR= ${CONFDIR}
|
|
CONF= bootmisc fsck hostname localmount netmount urandom tmpfiles \
|
|
${CONF-${OS}}
|
|
|
|
ifeq (${MKNET},yes)
|
|
CONF+= network staticroute
|
|
TARGETS+= network staticroute
|
|
CLEANFILES+= network staticroute
|
|
endif
|
|
|
|
MK= ../mk
|
|
include ${MK}/os.mk
|
|
|
|
CONF-FreeBSD= ipfw modules moused powerd rarpd savecore syscons
|
|
|
|
CONF-Linux= consolefont devfs dmesg hwclock keymaps killprocs modules mtab \
|
|
net-online
|
|
|
|
CONF-NetBSD= moused rarpd savecore
|
|
|
|
include ${MK}/scripts.mk
|
|
|
|
network: network.in network${SFX}
|
|
cat $^ > $@
|
|
|
|
staticroute: staticroute${SFX}
|
|
cp $@${SFX} $@
|