From ff5e4de7088fe8d34812c2a1e604bf04be713606 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Sun, 25 Apr 2010 16:15:26 +0200 Subject: 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 --- Makefile.in | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3