[PATCH] Add support for binary includes.

Kumar Gala galak at kernel.crashing.org
Wed May 28 01:27:57 EST 2008


On Feb 25, 2008, at 6:39 PM, David Gibson wrote:

> On Wed, Feb 20, 2008 at 01:19:41PM -0600, Scott Wood wrote:
>> A property's data can be populated with a file's contents
>> as follows:
>>
>> node {
>> 	prop = /incbin/("path/to/data");
>> };
>>
>> A subset of a file can be included by passing start and size  
>> parameters.
>> For example, to include bytes 8 through 23:
>>
>> node {
>> 	prop = /incbin/("path/to/data", 8, 16);
>> };
>>
>> As with /include/, non-absolute paths are looked for in the directory
>> of the source file that includes them.
>
> Well, while I discuss the syntax with Jon, here's some comments on the
> implementation.

have we made any progress on the syntax?

- k



More information about the Linuxppc-dev mailing list