This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to allow creation of headers from custom kernel source


Thomas Taranowski wrote:
I like this feature.  Let me know if you need help testing it, as I am
working on a similar workflow.

Yes, I also will be willing to do lots of testing!

On Mon, Jun 14, 2010 at 2:01 PM, Yann E. MORIN
<> wrote:
Andy, All,

On Thursday 10 June 2010 15:33:26 Andy Gibbs wrote:
Following on from my previous question, I have hacked (rather badly,
probably) an extra option into crosstool-ng to allow the use of a
custom Linux archive file which contains the whole source rather
than just the headers. The extra setting allows the user to set
whether the archive *is* the whole source or not, and then the
build scripts will then create the headers from this as appropriate.

I've attached the patch file in case this is of interest. Hopefully
it is fairly easy to follow (I've mainly just copied bits from
elsewhere). I'm afraid its probably not the best quality however,
since I'm not so sure about how the menuconfig system works. I've
tested it here, and it works fine for me.

Bad code duplication, bad! ;-)

Seriously, I'm really uncomfortable with that code duplication. I
think there is a nice way to handle that with the existing code and
a few more tests... I'll poke at that later tonight...

Thanks. I did admit it wasn't good ;o)

The same source archive can now be used both for crosstool
*and* buildroot, which was my aim.

Hoho! I see what you wanted that for, now.

That's right!... (fairly caught!)

Thanks again

-- For unsubscribe information see

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]