Module Name: src Committed By: uebayasi Date: Tue Aug 25 09:01:28 UTC 2015
Modified Files: src/usr.bin/config: TODO Log Message: + kill makeoptions To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/config/TODO Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/config/TODO diff -u src/usr.bin/config/TODO:1.20 src/usr.bin/config/TODO:1.21 --- src/usr.bin/config/TODO:1.20 Sun Aug 23 01:30:21 2015 +++ src/usr.bin/config/TODO Tue Aug 25 09:01:28 2015 @@ -355,6 +355,13 @@ o Disallow unknown options. Don't accept options that are not defined as either defflag or defparam. Report them and exit. Don't set ${IDENT} in the generated Makefile. +o Kill makeoptions. + + It adds a variable defined in the generated `Makefile'. While it looks + useful, it is too flexible and easy to abuse. The `Makefile' should be + kept as simple as possible and have nothing that affects output contents. + Consider to kill `makeoptions' totally, replace existing ones with `options'. + o Convert ${DIAGNOSTIC} and ${DEBUG} as flags (defflag). Probably generate opt_diagnostic.h/opt_debug.h and include them in