summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-01-06 15:10:26 +0000
committerluigi <luigi@FreeBSD.org>2009-01-06 15:10:26 +0000
commit5f71ef0dca1ab4ed0437049b724d8c434bc35a64 (patch)
tree8f63afb2a5ed79ef51bea75577c10dd6562cdf21 /sys/i386
parent04e16ec4d6b9353300261672ff8f07f6b2c2fd7d (diff)
downloadFreeBSD-src-5f71ef0dca1ab4ed0437049b724d8c434bc35a64.zip
FreeBSD-src-5f71ef0dca1ab4ed0437049b724d8c434bc35a64.tar.gz
Add a reference to the "env" kernel config option in the GENERIC file,
as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC after: 3 days
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/conf/GENERIC6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index 15cf65e..b15bb9f 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/conf/GENERIC
@@ -26,6 +26,12 @@ ident GENERIC
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
+# Use the following to compile in values accessible to the kernel
+# through getenv() (or kenv(1) in userland). The format of the file
+# is 'variable=value' , same as for hints files.
+#
+# env "my_kenv_variables"
+
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_ULE # ULE scheduler
OpenPOWER on IntegriCloud