MT#59962 apps: improve Makefile

Improve Makefile so, that if the `exclude_app_modules`
isn't defined, it has a default value.

Also introduce the `TEST_ENVIRONMENT` variable
which defines, whether to take the `exclude_app_modules`
from given variables or take the one from the Makefile.

Change-Id: I046aa22be8042a053a844b9dd3ee283f7638b95e
mr13.1
Donat Zenichev 2 years ago
parent c33c2cffc9
commit 4eb5a1e39b

@ -18,6 +18,15 @@ include $(COREPATH)/../Makefile.defs
#
ifeq ($(app_modules),)
ifeq ($(exclude_app_modules),)
exclude_app_modules = ann_b2b announce_transfer announcement annrecorder callback callqueues conference confpin conf_auth diameter_client dimanagedha early_announce early_dbprompt examples examples/tutorial/cc_acc gateway ivr jsonrpc mailbox memcachedstore mobile_push mp3 msg_storage mwi pin_collect precoded_announce py_sems rtmp twit voicebox voicemail webconference
endif
ifeq ($(TEST_ENVIRONMENT),yes)
exclude_app_modules = ann_b2b announce_transfer announcement annrecorder callback callqueues conference confpin conf_auth diameter_client dimanagedha early_announce early_dbprompt examples examples/tutorial/cc_acc gateway ivr jsonrpc mailbox memcachedstore mobile_push mp3 msg_storage mwi pin_collect precoded_announce py_sems rtmp twit voicebox voicemail webconference sw_rating
endif
exclude_modules = $(exclude_app_modules)
exclude_modules += $(local_exclude_app_modules)

Loading…
Cancel
Save