Skip to content

Commit bda04d1

Browse files
committed
Updated makefiles
1 parent 7981ca7 commit bda04d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

make/modules.mk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@ UNIQ_ALL_DEPENDENCIES := $(filter-out $(ARTIFACT_ID),$(call uniq, $(ALL_DEP
4848
MODULES ?= $(BASEDIR)/modules
4949
GIT ?= git
5050

51+
ifeq ($(DEVEL),1)
52+
X_URL_SUFFIX = _RW
53+
else
54+
X_URL_SUFFIX = _RO
55+
endif
56+
5157
ifeq ($(TREE),1)
5258
$(foreach dep,$(UNIQ_ALL_DEPENDENCIES), \
53-
$(eval $(dep)_URL=$($(dep)_URL_RO)) \
59+
$(eval $(dep)_URL=$($(dep)_URL$(X_URL_SUFFIX))) \
5460
)
5561

5662
ifeq ($(findstring -devel,$(ARTIFACT_VERSION)),-devel)

0 commit comments

Comments
 (0)