sys/conf/DEFAULT[S]

Bruce Evans bde at zeta.org.au
Wed Oct 8 08:53:44 PDT 2003


On Wed, 8 Oct 2003, Adam C. Migus wrote:

> Bruce Evans said:
> > Stefan's version requires SEMICOLON:
> > % +	INCLUDE ID SEMICOLON
> > % +	      = { include($2, 0); };
> > % +		|
> > ...
> > I lost your examples showing that this doesn't quite work.  What is
> > the
> > problem with it?
> ...
> WRT Stefan's solution, simply nest two includes on the first line,
> like so:
>
> head -1 KERNEL
> include SUB1
>
> head -1 SUB1
> include SUB2
>
> This will cause config to fail in the same manner it did before,
> with his patch.

Er, but this works for me.  I test with SUB2 having the following:
1) include GENERIC
2) same contents as GENERIC
3) same contents as GENERIC except for no comment lines at beginning.

Bruce


More information about the freebsd-arch mailing list