Re: [PATCH 01/18] Include autoconf.h from the bootwrapper.
From: David Gibson <hidden>
Date: 2007-01-25 02:21:11
On Wed, Jan 24, 2007 at 08:08:02PM -0600, Kumar Gala wrote:
On Jan 24, 2007, at 5:51 PM, David Gibson wrote:quoted
On Wed, Jan 24, 2007 at 03:06:54PM -0600, Scott Wood wrote:quoted
This will be required by the u-boot compatibility code to obtain a compatible bd_t layout, to determine how to calculate the timebase, and to know what soc fields need to be modified.Erm.. I believe the omission of *all* kernel header files from the boot wrapper code, including the config, is a deliberate decision. The idea is that the wrapping can, if necessary, be done independent of the kernel build.I think the problem is how to resolve the variations of the u-boot/ ppcboot bd_t that changes from board to board and based on config.
Don't do that. We're trying to get rid of this config dependant crap that means the kernel must be built for a single board. Instead make the different bd_t options different options to the wrapper script. -- 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