newt: disable parallel build
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 18 Nov 2011 12:52:34 +0000 (13:52 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 18 Nov 2011 12:52:34 +0000 (13:52 +0100)
The newt build system contains a race condition, which sometimes breaks
the build with high BR2_JLEVEL settings.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/newt/newt.mk

index 28b5321e7acb79028481c52dada4a75eff6f2beb..eb944a92fd19b01b49f1f895d6d114f5aee991ea 100644 (file)
@@ -42,7 +42,7 @@ $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source
        touch $(NEWT_DIR)/.configured
 
 $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION): $(NEWT_DIR)/.configured
-       $(MAKE) CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" CC="$(TARGET_CC)" -C $(NEWT_DIR)
+       $(MAKE1) CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" CC="$(TARGET_CC)" -C $(NEWT_DIR)
        touch -c $@
 
 $(STAGING_DIR)/usr/lib/libnewt.a: $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION)