Skip to content

Commit

Permalink
cross-cc.mk: Msg. to run make setup first when using all-supported (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 authored Jan 28, 2024
1 parent bc2327f commit 5bf0ab5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mk/spksrc.cross-cc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,17 @@ all-supported:
env $(ENV) $(MAKE) -C ../../$$depend 2>&1 | tee --append build-$${depend%/*}-$${depend#*/}.log ; \
[ $${PIPESTATUS[0]} -eq 0 ] || false ; \
fi ; \
done ; \
done
ifeq ($(strip $(SUPPORTED_ARCHS)),)
$(MAKE) supported-arch-error
else
$(MAKE) $(addprefix supported-arch-,$(SUPPORTED_ARCHS))
endif

supported-arch-error:
@$(MSG) ########################################################
@$(MSG) ERROR - Please run make setup from spksrc root directory
@$(MSG) ########################################################

supported-arch-%:
@$(MSG) BUILDING package for arch $* with SynoCommunity toolchain
Expand Down

1 comment on commit 5bf0ab5

@hgy59
Copy link
Contributor

@hgy59 hgy59 commented on 5bf0ab5 Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@th0ma7 it looks like this commit broke the "prepare for build" action. The evaluate dependency job now takes > 2 hours.
please revert.

Please sign in to comment.