summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-04-25 16:15:26 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-04-25 19:55:56 +0200
commitff5e4de7088fe8d34812c2a1e604bf04be713606 (patch)
tree5c2b2313d9047b1f144404d0a49f3e58b6fb49f6 /Makefile.in
parent6193eee290f612c13492923552dea193c80ded85 (diff)
build: Fix infinite loop when no threading support is enabled
The build loops forever due to when invoking make $(pregen-headers-y) and $(pregen-headers-y) is empty (no thread support). Parallel build should continue to work as well. It fixes Bugzilla #1633. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 1dafc1ab3..a6fdc60d6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -159,8 +159,7 @@ headers-y += $(target-headers-sysdep)
headers: $(top_builddir)include/bits/uClibc_config.h $(top_builddir)include/bits/sysnum.h
subdirs: $(addprefix $(top_builddir),$(subdirs))
-pregen-headers: headers
- $(Q)$(MAKE) $(pregen-headers-y)
+pregen-headers: headers $(pregen-headers-y)
pregen: pregen-headers subdirs
$(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)
$(top_builddir)include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh