[kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
One of the complaints that I continue to hear is that kbuild is lacking a way to 'remember' the ARCH and CROSS_COMPILE values originally used. Likewise we have people that change ARCH settings and get a lot of build errors due to asm symlink pointing at the wrong directory. This patch tries to add

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Oleg Verych
On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote: > One of the complaints that I continue to hear is that kbuild > is lacking a way to 'remember' the ARCH and CROSS_COMPILE > values originally used. Yea, finally. What about, that this is the first ever prompt, that must be shown and w

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Adrian Bunk
On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote: >... > The settings are stored in the build directory in a file > named "Kbuild.config" (should it be a .dot file?). >... A .dot file sounds better. And even if not, generated files should IMHO not share the Kbuild* namespace with non

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
> > What about, that this is the first ever prompt, that must be shown and > written to the .config? Two issues to fix before we can do this: 1) chocie values cannot have more than one prompt 2) We need to share much more Kconfig* between the individual architectures First step is to let all ar

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
> > 2) We need to share much more Kconfig* between the individual architectures > >First step is to let all arch's use drivers/Kconfig > > 2) isn't terribly difficult, just takes some time and willingness > of $arch maintainers to some changes, but please explain a bit more > why it is needed.

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
On Mon, Oct 08, 2007 at 11:12:56PM +0200, Adrian Bunk wrote: > On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote: > >... > > The settings are stored in the build directory in a file > > named "Kbuild.config" (should it be a .dot file?). > >... > > A .dot file sounds better. I will make