package/canfestival: don't build in parallel
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 22 Aug 2015 21:34:50 +0000 (23:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Aug 2015 18:53:44 +0000 (20:53 +0200)
The Makefiles for canfestival are not correctly written, which leads to
multiple warnings such as:

    make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

Since canfestival is relatively small, it builds in less than 6s here
when not in parallell, while a parallel build takes 5s.

Just disable parallel build to avoid future surprises.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/canfestival/canfestival.mk

index e929c5e0a45029386127482598091602b421c1f2..61578d31625b8cac457448e9e314539e038d34b8 100644 (file)
@@ -36,13 +36,13 @@ define CANFESTIVAL_CONFIGURE_CMDS
 endef
 
 define CANFESTIVAL_BUILD_CMDS
-       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all \
+       $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all \
                PYTHON=$(HOST_DIR)/usr/bin/python2
 endef
 
 define CANFESTIVAL_INSTALL_TARGET_CMDS
        for d in $(CANFESTIVAL_INSTALLED-y) ; do \
-               $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$$d install \
+               $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
                        PYTHON=$(HOST_DIR)/usr/bin/python2 \
                        DESTDIR=$(TARGET_DIR) || exit 1 ; \
        done
@@ -50,7 +50,7 @@ endef
 
 define CANFESTIVAL_INSTALL_STAGING_CMDS
        for d in $(CANFESTIVAL_INSTALLED-y) ; do \
-               $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$$d install \
+               $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
                        PYTHON=$(HOST_DIR)/usr/bin/python2 \
                        DESTDIR=$(STAGING_DIR) || exit 1 ; \
        done