[coreboot] Config.lb includes

Myles Watson mylesgw at gmail.com
Fri Apr 17 18:16:21 CEST 2009


On Fri, Apr 17, 2009 at 9:50 AM, Myles Watson <mylesgw at gmail.com> wrote:
> On Fri, Apr 17, 2009 at 9:28 AM, ron minnich <rminnich at gmail.com> wrote:
>> On Fri, Apr 17, 2009 at 7:53 AM, Carl-Daniel Hailfinger
>> <c-d.hailfinger.devel.2006 at gmx.net> 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




More information about the coreboot mailing list