aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/config/config.y
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-10-30 10:55:48 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-10-30 10:55:48 +0000
commitc1454d67ec8684c774dde1b5b3acff3117a686c1 (patch)
treea9d2384ac6461c3a49b2c9508ecc88304b9ac808 /usr.sbin/config/config.y
parent3f5bbb089a8176eb4d3a37120e4586c5bf832443 (diff)
downloadsrc-c1454d67ec8684c774dde1b5b3acff3117a686c1.tar.gz
src-c1454d67ec8684c774dde1b5b3acff3117a686c1.zip
Add option "-d destdir" which instructs config to use another output
directory than the default one. If the option is not given, then the output of config is exactly as before. Only when an alternate output directory has been specified will config modify its behavior. Additional changed: o Remove the now conflicting and unused NODEV define. It conflicts with NODEV in sys/param.h. o Rename the now conflicting MACHINE token to ARCH. It conflicts with MACHINE in sys/param.h. o Fix some easy style bugs. o Fix some easy grammar bugs in the manpage. Approved by: peter, archie
Notes
Notes: svn path=/head/; revision=52653
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r--usr.sbin/config/config.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 2a3d98912591..5c6d1dae4beb 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -5,6 +5,7 @@
}
%token ANY
+%token ARCH
%token AT
%token BUS
%token COMMA
@@ -23,7 +24,6 @@
%token IOMEM
%token IOSIZ
%token IRQ
-%token MACHINE
%token MAXUSERS
%token MINUS
%token NEXUS
@@ -133,7 +133,7 @@ Spec:
;
Config_spec:
- MACHINE Save_id
+ ARCH Save_id
= {
if (!strcmp($2, "i386")) {
machine = MACHINE_I386;