From: Kim Phillips Date: Wed, 5 Sep 2007 13:35:43 -0500 Subject: [U-Boot-Users] [RFC 0/2] Make board config available to build system In-Reply-To: <20070905134927.29345.73588.stgit@trillian.cg.shawcable.net> References: <20070905134927.29345.73588.stgit@trillian.cg.shawcable.net> Message-ID: <20070905133543.14f23564.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 05 Sep 2007 08:00:10 -0600 Grant Likely wrote: > This series extracts the u-boot configuration from the config header files > and makes it usable by the build system. The obvious application for this > is to allow conditional compiliation of files without wrapping every file > with a large #if defined() block (which results in shorter build times). > > This is another step towards using a kconfig style build system. This step > just enables make and gcc to have the same configuration data. Next step > I think is to allow boards to supply a Kconfig style config file instead > of a header file (and in this case, do the opposite of this patch; generate > the header file based on the .config file). Until all boards are ported > over, both methods can be supported based on what kind of config file > (either .h or .config) is present. > > Word of warning: I've most certainly broken stuff in this version. If > there is suppport for this direction, then I'll make sure I get it > sorted out for real. total ack. and to the gitignore patch, of course. Kim