In article <local.mail.freebsd-current/[EMAIL PROTECTED]> you write: >From my observations (yes, please correct me if I am wrong), that >modules define what to support in their respective makefiles in the form >of > >SRC= aaa.c bbb.c opt_*.h > >Where opt_*.h are automagically generated if they are not in machine@ >(and the generated files are just empty files that indicate that the >kernel file does not specify this option), else they are linked from >[EMAIL PROTECTED] > >If some makefile list >SRC= a.c b.c opt_inet.h opt_inet6.h >and kernel config lists 'option INET' *only*, then opt_inet.h has >'#define INET 1' in it and opt_inet6.h is empty. > >Is this correct?
Yes, I believe so. This is why module makefiles should explicitly create the opt_* files with the #define set, so the module supports all options. See the recent commits I did to the if_tun module, for example (thanks for pointing it out). -- Jonathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message