[PATCH] fix 'make headers' when LOCALE is enabled
Carmelo AMOROSO
carmelo.amoroso at st.com
Wed Jun 11 11:19:13 PDT 2008
Bernhard Fischer wrote:
> On Wed, Jun 11, 2008 at 07:51:09PM +0200, Carmelo AMOROSO wrote:
>
>> Bernhard Fischer wrote:
>>
>>> On Wed, Jun 11, 2008 at 07:01:27PM +0200, Carmelo AMOROSO wrote:
>>>
>>>
>>>> Hi,
>>>> when running 'make headers" with LOCALE enabled there is a problem
>>>> caused by a dependencies of extra/locale/gen_locale against sysnum.h
>>>> that is generated by the pregen target
>>>> So this patch solve it by moving the make -C locale_headers into the
>>>> pregen target
>>>>
>>>>
>>> pregen is ment to generate the needed headers and only that. Can you
>>> instead try to remove the headers dep from pregen and make headers
>>> depend on pregen, i.e. exactly the other way around?
>>>
>>>
>> Hi,
>> if I make headers depending on pregen, that depends on sysnum.h,
>> then 'make headers' will require the cross-compiler available.
>> Doing so it will not be possible to run make install_headers
>> that are required to build the cross-gcc by scratch.
>>
>
> You need a cross-compiler to generate sysnum.h anyway. This is nothing
> new, really.
>
yes, exactly.
> ok, install_dev (to build a stage1 cross-compiler) just needs headers
> (and no locale stuff, at least in my setup).
> If you have a working cross-compiler you can pregen, so your patch is
> ok.
>
> Please install and accept my apologies for breaking it in the first
> place :)
>
:-) I'll do
More information about the uClibc
mailing list