Hi Scott, On Sat, Oct 23, 2004 at 02:35:44AM -0600, Scott Long wrote: > I have a feeling that as we expand to things like ARM and possibly > MIPS that there will be very little that is 'standard' anymore. > It might be possible to distill some common 'CORE' pieces, but we > really shouldn't over-engineer this =-) > Maybe, it's really hard to say without actually trying it. :-) > I've been hacking up config(8) to allow the 'include' directive to > look outside of the current working directory. Ideally I'd like to > have a new directive that allows you to specify and/or override the > default search path for included configs. Unfortunately my blissful > ignorance towards lex/yacc is starting to show =-) > It already works. What you probably miss is double quotes around the argument: # pwd /usr/src/sys/i386/conf # cat TEST include GENERIC include "../../conf/FOO" # cat ../../conf/FOO device foo # config -d /tmp/TEST TEST config: Error: device "foo" is unknown config: 1 errors Cheers, -- Ruslan Ermilov ru_at_FreeBSD.org FreeBSD committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC