diff options
author | peter <peter@FreeBSD.org> | 1999-07-03 19:22:52 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-07-03 19:22:52 +0000 |
commit | be406231c5d21653933998816f79e9f70830733c (patch) | |
tree | 40370c5958478881cda9689347cdedd3411f12bb /usr.sbin/config/mkmakefile.c | |
parent | 060339e52c478ef9330bab255ccf2ccb1574ec07 (diff) | |
download | FreeBSD-src-be406231c5d21653933998816f79e9f70830733c.zip FreeBSD-src-be406231c5d21653933998816f79e9f70830733c.tar.gz |
Delete special handling for 'device-driver' suffix, it's not used in
the kernel source now.
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
-rw-r--r-- | usr.sbin/config/mkmakefile.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index f023f62..c161ef8 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)mkmakefile.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: mkmakefile.c,v 1.42 1999/05/09 17:23:37 phk Exp $"; + "$Id: mkmakefile.c,v 1.43 1999/05/09 18:54:23 peter Exp $"; #endif /* not lint */ /* @@ -249,6 +249,7 @@ read_files() register struct opt *op; char *wd, *this, *needs, *special, *depends, *clean; char fname[80]; + int ddwarned = 0; int nreqs, first = 1, configdep, isdup, std, filetype, imp_rule, no_obj, before_depend, mandatory; @@ -266,7 +267,7 @@ openit: next: /* * filename [ standard | mandatory | optional ] [ config-dependent ] - * [ dev* | profiling-routine ] [ device-driver] [ no-obj ] + * [ dev* | profiling-routine ] [ no-obj ] * [ compile-with "compile rule" [no-implicit-rule] ] * [ dependency "dependency-list"] [ before-depend ] * [ clean "file-list"] @@ -404,7 +405,10 @@ nextparam: goto nextparam; } if (eq(wd, "device-driver")) { - filetype = DRIVER; + if (!ddwarned) { + printf("%s: `device-driver' flag ignored.\n", fname); + ddwarned++; + } goto nextparam; } if (eq(wd, "profiling-routine")) { @@ -716,10 +720,6 @@ do_rules(f) ftype = "NORMAL"; break; - case DRIVER: - ftype = "DRIVER"; - break; - case PROFILING: if (!profiling) continue; |