Skip to content

Commit

Permalink
cross-cc.mk: Fix slowness noticed by @mreid-tt since previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Jan 29, 2024
1 parent 5bf0ab5 commit e9e02e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mk/spksrc.cross-cc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

Expand Down

0 comments on commit e9e02e2

Please sign in to comment.