Commit e6b339dc authored by Waldemar Brodkorb's avatar Waldemar Brodkorb Committed by Thomas Petazzoni
Browse files

uclibc-ng: fix parallel build issue for arm/xtensa when LOCALE support is enabled

This patch should fix any parallel build issues found
by autobuilder lately, f.e.:
http://autobuild.buildroot.net/results/43dd5c5da0d003b654fd252c989d49c2e5872827/
http://autobuild.buildroot.net/results/cfb438f933ff7385d612d65798b0b8ed833a6476/


and many more.
Will be committed upstream, if autobuilders are working.

Signed-off-by: default avatarWaldemar Brodkorb <wbx@openadk.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 84f6eb9f
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
fix parallel build if UCLIBC_HAS_LOCALE is enabled for arm/xtensa

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
 
diff -Nur uClibc-ng-1.0.3.orig/Makefile.in uClibc-ng-1.0.3/Makefile.in
--- uClibc-ng-1.0.3.orig/Makefile.in	2015-06-13 20:26:56.000000000 +0200
+++ uClibc-ng-1.0.3/Makefile.in	2015-06-29 20:23:26.000000000 +0200
@@ -183,11 +183,12 @@
 headers-y += $(target-headers-sysdep)
 
 headers: $(top_builddir)include/bits/uClibc_config.h | subdirs
+	$(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)
+
 subdirs: $(addprefix $(top_builddir),$(subdirs))
 
 $(pregen-headers-y): $(headers_dep)
 pregen: headers $(pregen-headers-y) $(headers_dep)
-	$(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 | $(top_builddir)include/bits
 	@$(disp_gen)