On Fri, Apr 17, 2009 at 9:50 AM, Myles Watson <[email protected]> wrote: > On Fri, Apr 17, 2009 at 9:28 AM, ron minnich <[email protected]> wrote: >> On Fri, Apr 17, 2009 at 7:53 AM, Carl-Daniel Hailfinger >> <[email protected]> wrote: >> >>> Unfortunately, if I use the "dir" syntax, I have to create a directory >>> for every snippet. I tried to change config.g, but it's too difficult to >>> modify it to have another command which takes a file name instead of a >>> directory for the include operation. >>> >>> Any help is appreciated. >> >> I can add an include command if you want. > > Maybe this one will be good enough while he's factoring things out. > > I made it so it always includes from /config/shared. I think it > should be easy to modify this rule for your needs.
I forgot to include a usage note. I tested it by adding: sharedinclude "Config2.lb" to src/northbridge/amd/amdk8/Config.lb and it looks in src/config/shared/Config2.lb Thanks, Myles -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

