Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config + kill makeoptions
details: https://anonhg.NetBSD.org/src/rev/8239bb9fccf1
branches: trunk
changeset: 340174:8239bb9fccf1
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Aug 25 09:01:28 2015 +0000
description:
+ kill makeoptions
diffstat:
usr.bin/config/TODO | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 30670f53a185 -r 8239bb9fccf1 usr.bin/config/TODO
--- a/usr.bin/config/TODO Tue Aug 25 08:08:12 2015 +0000
+++ b/usr.bin/config/TODO Tue Aug 25 09:01:28 2015 +0000
@@ -355,6 +355,13 @@
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
Home |
Main Index |
Thread Index |
Old Index