mpd-mpc: pass PARALLEL_JOBS to NINJA_OPTS
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 14 Mar 2018 20:18:37 +0000 (21:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Mar 2018 22:23:37 +0000 (23:23 +0100)
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpd-mpc/mpd-mpc.mk

index 3eecf8a3efa9db33010b0c5f142201eb0d8cf974..e16f600491a740dc06aee351230054617afc83ff 100644 (file)
@@ -17,7 +17,7 @@ MPD_MPC_CONF_OPTS += \
        --buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
        --cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 
-MPD_MPC_NINJA_OPTS = $(if $(VERBOSE),-v)
+MPD_MPC_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 
 define MPD_MPC_CONFIGURE_CMDS
        rm -rf $(@D)/build