On Tue, 19 Dec 2023, Edgar Fu? wrote:

What's the point of #include'ing opt_foobar.h only if _KERNEL_OPT is defined
and what's magic about 0x6e074def?

The opt_* files only exist when building a kernel.  They do not exist
when building loadable modules.  In the module case, any options needed
must be defined in the Makefile; preferably no options are needed.

I have no clue about the magic number.


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | p...@whooppee.com    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoye...@netbsd.org  |
| & Network Engineer  |                          | pgoyett...@gmail.com |
+---------------------+--------------------------+----------------------+

Reply via email to