diff options
author | phk <phk@FreeBSD.org> | 2000-10-14 08:33:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-10-14 08:33:22 +0000 |
commit | 362242ba16eb4eb3419e1568f1a3e50e79d1a832 (patch) | |
tree | 00c69fb6772333c1f7ad04c9c91cb4b97364e99b | |
parent | 725e675c8b64f174faec550ad44193a59cf22943 (diff) | |
download | FreeBSD-src-362242ba16eb4eb3419e1568f1a3e50e79d1a832.zip FreeBSD-src-362242ba16eb4eb3419e1568f1a3e50e79d1a832.tar.gz |
Make it possible to specify profiling in the kernel config file.
Do so for LINT.
-rw-r--r-- | sys/conf/Makefile.alpha | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.ia64 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.pc98 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 2 | ||||
-rw-r--r-- | usr.sbin/config/config.y | 3 | ||||
-rw-r--r-- | usr.sbin/config/configvers.h | 2 | ||||
-rw-r--r-- | usr.sbin/config/lang.l | 1 |
8 files changed, 10 insertions, 6 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index ef094bb..25de750 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -17,7 +17,7 @@ # # Which version of config(8) is required. -%VERSREQ= 500003 +%VERSREQ= 500004 # Can be overridden by makeoptions or /etc/make.conf KERNEL_KO?= kernel diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index e58a5fd..18f6539 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -17,7 +17,7 @@ # # Which version of config(8) is required. -%VERSREQ= 500003 +%VERSREQ= 500004 # Can be overridden by makeoptions or /etc/make.conf KERNEL_KO?= kernel diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64 index dacc1f6..91c4501 100644 --- a/sys/conf/Makefile.ia64 +++ b/sys/conf/Makefile.ia64 @@ -27,7 +27,7 @@ OBJCOPY= ia64-unknown-linux-objcopy MACHINE_ARCH= ia64 # Which version of config(8) is required. -%VERSREQ= 500003 +%VERSREQ= 500004 # Can be overridden by makeoptions or /etc/make.conf KERNEL_KO?= kernel diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 3ec5943..386a9cb 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -19,7 +19,7 @@ # # Which version of config(8) is required. -%VERSREQ= 500003 +%VERSREQ= 500004 # Can be overridden by makeoptions or /etc/make.conf KERNEL_KO?= kernel diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index e58a5fd..18f6539 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -17,7 +17,7 @@ # # Which version of config(8) is required. -%VERSREQ= 500003 +%VERSREQ= 500004 # Can be overridden by makeoptions or /etc/make.conf KERNEL_KO?= kernel diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index a0352b5..4c9a448 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -13,6 +13,7 @@ %token HINTS %token IDENT %token MAXUSERS +%token PROFILE %token OPTIONS %token MAKEOPTIONS %token SEMICOLON @@ -145,6 +146,8 @@ Config_spec: | MAXUSERS NUMBER = { maxusers = $2; } | + PROFILE NUMBER + = { profiling = $2; } | HINTS ID = { hints = $2; diff --git a/usr.sbin/config/configvers.h b/usr.sbin/config/configvers.h index a797e64..40226d7 100644 --- a/usr.sbin/config/configvers.h +++ b/usr.sbin/config/configvers.h @@ -8,4 +8,4 @@ * * $FreeBSD$ */ -#define CONFIGVERS 500003 +#define CONFIGVERS 500004 diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l index c64add73..0b6ad07 100644 --- a/usr.sbin/config/lang.l +++ b/usr.sbin/config/lang.l @@ -58,6 +58,7 @@ struct kt { { "machine", ARCH }, /* MACHINE is defined in /sys/param.h */ { "makeoptions", MAKEOPTIONS }, { "maxusers", MAXUSERS }, + { "profile", PROFILE }, { "option", OPTIONS }, { "options", OPTIONS }, { 0, 0 }, |