From d5d752d2d74bb5cca110b324c68075927ee21c80 Mon Sep 17 00:00:00 2001 From: mreid-tt <943378+mreid-tt@users.noreply.github.com> Date: Mon, 29 Jan 2024 15:42:29 -0400 Subject: [PATCH] Squashed commit of the following: commit e9e02e2a6e40eb6dc725542f2dd4d0a4ca6d1dfa Author: Vincent Fortier Date: Mon Jan 29 17:48:50 2024 +0000 cross-cc.mk: Fix slowness noticed by @mreid-tt since previous fix Ref: https://github.com/SynoCommunity/spksrc/pull/5995#issuecomment-1914757879 --- mk/spksrc.cross-cc.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mk/spksrc.cross-cc.mk b/mk/spksrc.cross-cc.mk index f88a9d8df3e9..03e1b6ad8bbc 100644 --- a/mk/spksrc.cross-cc.mk +++ b/mk/spksrc.cross-cc.mk @@ -80,6 +80,9 @@ all-archs: $(addprefix arch-,$(AVAILABLE_TOOLCHAINS)) all-supported: SHELL:=/bin/bash all-supported: +ifeq ($(strip $(SUPPORTED_ARCHS)),) + $(MAKE) supported-arch-error +else @$(MSG) Pre-build native dependencies for parallel build @for depend in $$($(MAKE) dependency-list) ; \ do \ @@ -89,10 +92,7 @@ all-supported: env $(ENV) $(MAKE) -C ../../$$depend 2>&1 | tee --append build-$${depend%/*}-$${depend#*/}.log ; \ [ $${PIPESTATUS[0]} -eq 0 ] || false ; \ fi ; \ - done -ifeq ($(strip $(SUPPORTED_ARCHS)),) - $(MAKE) supported-arch-error -else + done ; \ $(MAKE) $(addprefix supported-arch-,$(SUPPORTED_ARCHS)) endif