[PATCH] fix 'make headers' when LOCALE is enabled

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Jun 11 17:51:09 UTC 2008

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?
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.

My fix doesn't change this behaviour.

More information about the uClibc mailing list