summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-11 10:52:34 +0000
committerpeter <peter@FreeBSD.org>1995-12-11 10:52:34 +0000
commit7a7fb14fa9b36f5a77f0861c85e6bb995aa6b757 (patch)
treeef03c70fe9e388e67ab0c2e18b675681568a8009 /usr.sbin/config/Makefile
parentd7af2f0a80cee1f5b4fa606c79490ec68445ee7b (diff)
downloadFreeBSD-src-7a7fb14fa9b36f5a77f0861c85e6bb995aa6b757.zip
FreeBSD-src-7a7fb14fa9b36f5a77f0861c85e6bb995aa6b757.tar.gz
Implement support for conf/options and i386/conf/options.i386
Note that this code is dormant unless the options files exist. Also, parsing of quoted options in the config files is improved. What this allows, is all the options in LINT to be specified to be configured as #defines in a file rather than on the CC command line at kernel build time. This means that 'make depend' will catch dependencies on actual *options*, meaning that you can run 'config' and 'make depend' in complete safety WITHOUT removing the compile directory each time. Unfortunately, this requires a pass over the source to get the individual files to #include the new .h files that would be generated by config. This has a small compile time penalty (appears up to about 2% slower) from a "fresh" build. Of course, you should not be needing to do complete rebuilds very often once this was completed, so it would be an overall win for most people. Since this code is dormant and we've got a lot of other things happening on the kernel tree at the moment (prototypes, devfs, static declarations etc) I am not planning on doing any changes to activate this feature just yet.
Diffstat (limited to 'usr.sbin/config/Makefile')
-rw-r--r--usr.sbin/config/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 36e3d17..55f213e 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -3,7 +3,7 @@
PROG= config
CFLAGS+=-I. -I${.CURDIR}
SRCS= config.c main.c lang.c mkioconf.c mkmakefile.c mkglue.c mkheaders.c \
- mkswapconf.c
+ mkoptions.c mkswapconf.c
MAN8= config.8
DPADD= ${LIBL}
LDADD= -ll
OpenPOWER on IntegriCloud