xref: /freebsd/usr.sbin/config/kernconf.tmpl (revision 640235e2c2ba32947f7c59d168437ffa1280f1e6)
1/*
2 * This file acts as a template for config.c that will be generated in the
3 * kernel build directory after config(8) has been successfully run.
4 *
5 * $FreeBSD$
6 */
7#include "opt_config.h"
8#ifdef INCLUDE_CONFIG_FILE
9
10/*
11 * For !INCLUDE_CONFIG_FILE case, you should look at kern_mib.c. This is
12 * where kernconfstring is defined then.
13 */
14const char kernconfstring[] __attribute__ ((section("kern_conf"))) =
15"%%KERNCONFFILE%%";
16
17#endif /* INCLUDE_CONFIG_FILE */
18