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