aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runlevels.BSD/Makefile5
-rw-r--r--runlevels.FreeBSD/Makefile4
-rw-r--r--runlevels.Linux/Makefile5
-rw-r--r--runlevels.NetBSD/Makefile4
-rw-r--r--runlevels/Makefile4
-rw-r--r--runlevels/Makefile.BSD2
-rw-r--r--runlevels/Makefile.FreeBSD1
-rw-r--r--runlevels/Makefile.Linux2
-rw-r--r--runlevels/Makefile.NetBSD1
9 files changed, 10 insertions, 18 deletions
diff --git a/runlevels.BSD/Makefile b/runlevels.BSD/Makefile
deleted file mode 100644
index 7e8bbef1..00000000
--- a/runlevels.BSD/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-BOOT= hostid net.lo0 newsyslog savecore syslogd
-DEFAULT= local.rc mixer powerd
-
-MK= ../mk
-include ${MK}/runlevels.mk
diff --git a/runlevels.FreeBSD/Makefile b/runlevels.FreeBSD/Makefile
deleted file mode 100644
index b01dc2f2..00000000
--- a/runlevels.FreeBSD/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-BOOT= clock dumpon syscons
-
-MK= ../mk
-include ${MK}/runlevels.mk
diff --git a/runlevels.Linux/Makefile b/runlevels.Linux/Makefile
deleted file mode 100644
index 0e8557b8..00000000
--- a/runlevels.Linux/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-BOOT= clock consolefont keymaps modules net.lo procfs
-DEFAULT= hdparm
-
-MK= ../mk
-include ${MK}/runlevels.mk
diff --git a/runlevels.NetBSD/Makefile b/runlevels.NetBSD/Makefile
deleted file mode 100644
index 31d01d84..00000000
--- a/runlevels.NetBSD/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-BOOT= ttys
-
-MK= ../mk
-include ${MK}/runlevels.mk
diff --git a/runlevels/Makefile b/runlevels/Makefile
index 7737678e..11b606b0 100644
--- a/runlevels/Makefile
+++ b/runlevels/Makefile
@@ -7,4 +7,8 @@ BOOTDIR= ${LEVELDIR}/boot
DEFAULTDIR= ${LEVELDIR}/default
MK= ../mk
+include ${MK}/os.mk
+include Makefile.${OS}
+include Makefile.${SUBOS}
+
include ${MK}/runlevels.mk
diff --git a/runlevels/Makefile.BSD b/runlevels/Makefile.BSD
new file mode 100644
index 00000000..255d117a
--- /dev/null
+++ b/runlevels/Makefile.BSD
@@ -0,0 +1,2 @@
+BOOT+= hostid net.lo0 newsyslog savecore syslogd
+DEFAULT+= local.rc mixer powerd
diff --git a/runlevels/Makefile.FreeBSD b/runlevels/Makefile.FreeBSD
new file mode 100644
index 00000000..85d15fe1
--- /dev/null
+++ b/runlevels/Makefile.FreeBSD
@@ -0,0 +1 @@
+BOOT+= clock dumpon syscons
diff --git a/runlevels/Makefile.Linux b/runlevels/Makefile.Linux
new file mode 100644
index 00000000..205f0971
--- /dev/null
+++ b/runlevels/Makefile.Linux
@@ -0,0 +1,2 @@
+BOOT+= clock consolefont keymaps modules net.lo procfs
+DEFAULT+= hdparm
diff --git a/runlevels/Makefile.NetBSD b/runlevels/Makefile.NetBSD
new file mode 100644
index 00000000..02a99036
--- /dev/null
+++ b/runlevels/Makefile.NetBSD
@@ -0,0 +1 @@
+BOOT+= ttys