summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-06-30 20:16:53 +0400
committerPeter Korsgaard <peter@korsgaard.com>2014-07-01 15:04:04 +0200
commit4a530b6ed312a69dabdc98a1e10795238fd4d1e2 (patch)
tree54601d77da981907f4c58d192884f06f03bba574
parent42ecaf45dc372de1bbdfd3ca120c17e981ebac33 (diff)
downloadbuildroot-4a530b6ed312a69dabdc98a1e10795238fd4d1e2.tar.gz
buildroot-4a530b6ed312a69dabdc98a1e10795238fd4d1e2.zip
uclibc: disable parallel build for uClibc 0.9.31
This is only required for uClibc 0.9.31 and this veriosn is only used by AVR32 so could be safely removed together with AVR32. Even 0.9.32 builds well in parallel (at least on x86) so IMHO there's no need in >= 0.9.33, just disable for a particular broken version. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/uclibc/uclibc.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 8337bb6f84..e20f92fd03 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -481,8 +481,20 @@ define UCLIBC_BUILD_TEST_SUITE
endef
endif
+# In uClibc 0.9.31 parallel building is broken so we have to disable it
+# Fortunately uClibc 0.9.31 is only used by AVR32 and in its turn AVR32 is
+# about to be removed from buildroot.
+#
+# So as soon as AVR32 is removed please revert this patch so instead of
+# UCLIBC_MAKE normal "MAKE" is used in UCLIBC_BUILD_CMDS
+ifeq ($(BR2_UCLIBC_VERSION_0_9_31),y)
+ UCLIBC_MAKE = $(MAKE1)
+else
+ UCLIBC_MAKE = $(MAKE)
+endif
+
define UCLIBC_BUILD_CMDS
- $(MAKE) -C $(@D) \
+ $(UCLIBC_MAKE) -C $(@D) \
$(UCLIBC_MAKE_FLAGS) \
PREFIX= \
DEVEL_PREFIX=/ \
OpenPOWER on IntegriCloud