OSDN Git Service

Make locale_headers only when doing pregen and not headers
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 11 Jun 2008 18:29:48 +0000 (18:29 -0000)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 11 Jun 2008 18:29:48 +0000 (18:29 -0000)
due to dependencies against sysnum.h

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Makefile.in

index d116e48..4a630fb 100644 (file)
@@ -134,9 +134,9 @@ headers_clean-y += sysdep_common_headers-clean
 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)