config and opt_*h files, how it works?

John-Mark Gurney gurney_j at efn.org
Mon Nov 10 01:43:04 PST 2003


TSaplin Mikhail wrote this message on Tue, Dec 09, 2003 at 11:25 +0600:
> I want add some my own options to kernel.
> I've add "U04_KOI8R opt_cdunicode.h" to sys/conf/options,
> and #include "opt_cdunicode.h" to source files.
> 
> But when i do make depend, mkdep cant find opt_cdunicode.h
> Whats wrong and how it works?

Did you rerun config?  the opt_*.h files are created by config, so if
you modify the sys/conf/options files you need to rerun config.

Hope this helps.

P.S. You might want to fix the date on your computer.  It's not yet
December.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-hackers mailing list