aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/config/kernconf.tmpl
blob: 262e77eccd3163c08c620d5af4df5ff48dac076f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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: src/usr.sbin/config/kernconf.tmpl,v 1.2.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $
 */
#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 */