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