xref: /freebsd/usr.sbin/config/kernconf.tmpl (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
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