freebsd-src/usr.sbin/config/kernconf.tmpl
Wojciech A. Koszek 5f9974ae57 Handle !INCLUDE_CONFIG_FILE entirely in the kernel. This should make some
developers happy, since it will let them to use old config(8) with newer
kernels.

Reviewed by:	imp
Approved by:	imp
2007-05-16 16:08:04 +00:00

18 lines
463 B
Cheetah

/*
* This file acts as a template for config.c that will be generated in the
* kernel build directory after config(8) has been successfully run.
*
* $FreeBSD$
*/
#include "opt_config.h"
#ifdef INCLUDE_CONFIG_FILE
/*
* For !INCLUDE_CONFIG_FILE case, you should look at kern_mib.c. This is
* where kernconfstring is defined then.
*/
const char kernconfstring[] __attribute__ ((section("kern_conf"))) =
"%%KERNCONFFILE%%";
#endif /* INCLUDE_CONFIG_FILE */