From 0d977a8c6486e8d8f176edc1a4f6f949c264c5a6 Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sat, 14 Sep 2024 21:03:15 +0300 Subject: [PATCH] Updated build scripts and dependencies --- make/modules.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make/modules.mk b/make/modules.mk index e79decf..0807686 100644 --- a/make/modules.mk +++ b/make/modules.mk @@ -48,9 +48,15 @@ UNIQ_ALL_DEPENDENCIES := $(filter-out $(ARTIFACT_ID),$(call uniq, $(ALL_DEP MODULES ?= $(BASEDIR)/modules GIT ?= git +ifeq ($(DEVEL),1) + X_URL_SUFFIX = _RW +else + X_URL_SUFFIX = _RO +endif + ifeq ($(TREE),1) $(foreach dep,$(UNIQ_ALL_DEPENDENCIES), \ - $(eval $(dep)_URL=$($(dep)_URL_RO)) \ + $(eval $(dep)_URL=$($(dep)_URL$(X_URL_SUFFIX))) \ ) ifeq ($(findstring -devel,$(ARTIFACT_VERSION)),-devel)