This is the mail archive of the crossgcc@sourceware.org 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


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

On Mon, Jun 14, 2010 at 2:01 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> 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...
>
>> 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.
>
>
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | ?Yann E. MORIN ?| Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software ?Designer | \ / CAMPAIGN ? ? | ?___ ? ? ? ? ? ? ? |
> | +33 223 225 172 `------------.-------: ?X ?AGAINST ? ? ?| ?\e/ ?There is no ?|
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL ? ?| ? v ? conspiracy. ?|
> '------------------------------^-------^------------------^--------------------'
>
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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