Deleted Added
full compact
kernconf.tmpl (169507) kernconf.tmpl (169604)
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 *
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: head/usr.sbin/config/kernconf.tmpl 169507 2007-05-12 19:38:18Z wkoszek $
5 * $FreeBSD: head/usr.sbin/config/kernconf.tmpl 169604 2007-05-16 16:08:04Z wkoszek $
6 */
7#include "opt_config.h"
8#ifdef INCLUDE_CONFIG_FILE
9
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 */
10const char kernconfstring[] __attribute__ ((section("kern_conf"))) =
11"%%KERNCONFFILE%%";
12
14const char kernconfstring[] __attribute__ ((section("kern_conf"))) =
15"%%KERNCONFFILE%%";
16
13#else
14
15const char kernconfstring[] = "\0";
16
17#endif /* INCLUDE_CONFIG_FILE */
17#endif /* INCLUDE_CONFIG_FILE */