8352082eb6
All Linux systems need /dev to be set up,so add code to devfs to do this. The process devfs follows is below. 1. If static_dev is yes, nothing is done. 2. if /dev is an entry in fstab it is mounted or remounted based on that entry. 3. If /dev is not in fstab, it attempts to mount /dev as a devtmpfs or tmpfs depending on which is defined in the kernel; devtmpfs is preferred. 4. If neither devtmpfs nor tmpfs is defined, it assumes the user wants static /dev and prints a warning. X-Gentoo-Bug: 492694 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=492694
29 lines
556 B
Makefile
29 lines
556 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 moused powerd rarpd savecore syscons
|
|
|
|
CONF-Linux= consolefont devfs 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} $@
|