tiny improvement to config(8)

Matthew Dillon dillon at apollo.backplane.com
Sat Mar 6 17:02:11 PST 2004


:'lo all,
:
:The attached patch makes an ever-so-tiny improvement to config(8):
:it adds a -q ("quiet") flag which suppresses reminder messages.
:
:The idea is that the message "Don't forget to do a ``make depend''" is
:(at best) redundant and (at worst) confusing, when using the "new"
:kernel building method (which is virtually standard nowadays.)
:
:To try it, you can run
:
:  make buildkernel KERNCONF=FOO CONFIGARGS="-q"
:
:This is working fine for me, and the patch is so simple, I am fairly
:confident there are no errors in it.

    Well... it's just like a line or two of output that is being saved
    here, and we can't build the -q option into the Makefile's without
    creating a chicken-and-egg problem (minor, but unnecessarily annoying).

    How about if we were to simply remove the 'Don't forget to do ...' stuff
    entirely?  So many things already break when one tries to do manual
    config/builds that most people are (should be) using 'buildkernel',
    or manually CDing into an already existant /usr/obj/usr/src/sys/BLAH
    and just typing 'make' when they are doing incremental development.
    So there isn't much point outputing the warning anymore.

						-Matt






More information about the Submit mailing list