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

Cheers,
Carmelo
  MKDIR include/bits
  GEN include/bits/uClibc_config.h
  LN include/pthread.h
  LN include/semaphore.h
  LN include/bits/mman.h
.......................  
  LN include/bits/wordsize.h
  LN include/sys/acct.h
  LN include/sys/ucontext.h
  LN include/sys/user.h
make[1]: *** No rule to make target `../../include/bits/sysnum.h', needed by 
`../../extra/locale/gen_locale'.  Stop.
make: *** [headers] Error 2
Index: Makefile.in
===================================================================
--- Makefile.in (revision 22296)
+++ Makefile.in (working copy)
@@ -134,9 +134,9 @@
 headers-y += $(target-headers-sysdep)
 
 headers: include/bits/uClibc_config.h
-       $(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)
 
 pregen: include/bits/sysnum.h headers
+       $(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)
 
 include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh
        $(Q)$(INSTALL) -d $(@D)
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to