Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 21:14:24 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        hackers@FreeBSD.org
Subject:   config(8) option names
Message-ID:  <17628.1018898064@axl.seasidesoftware.co.za>

next in thread | raw e-mail | index | archive | help

Hi folks,

Is there a way to specify option name translation in config(8)s option
files?  For example, I'd like this in my kernel config:

options 	IPFILTER_STATE_MAX	300007

but I want

#defined	STATE_MAX	(300007)

to end up in opt_ipfilter.h assuming I have something like

IPFILTER_STATE_MAX	opt_ipfilter.h

in src/sys/conf/options.

I could just call the kernel option STATE_MAX, but the kernel config
file configures the entire kernel, and STATE_MAX doesn't make it clear
which subsystem of the kernel will be affected.

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17628.1018898064>