Re: [PATCH] Add support for binary includes.
From: David Gibson <hidden>
Date: 2008-05-29 00:02:27
On Thu, May 29, 2008 at 09:58:59AM +1000, David Gibson wrote:
On Tue, May 27, 2008 at 12:59:32PM -0500, Jon Loeliger wrote:quoted
Kumar Gala wrote:quoted
On Feb 25, 2008, at 6:39 PM, David Gibson wrote:quoted
On Wed, Feb 20, 2008 at 01:19:41PM -0600, Scott Wood wrote:quoted
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.That issue was resolved, I believe.quoted
quoted
Well, while I discuss the syntax with Jon, here's some comments on the implementation.have we made any progress on the syntax?My last suggestions garnered a "I like that even less." response, so as far as I know, we're still waiting for a good proposal here.A while back I sent out a spiel explaining more clearly why I didn't like it, and where I thought we should go with this, but I don't think anyone noticed it at the time. I'll resend.
See http://www.nabble.com/Re%3A--PATCH--Add-support-for-binary-includes.-p16149085.html -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson