From 4eb5a1e39bfb3b151e7b3698461417d052165550 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Mon, 2 Dec 2024 17:13:33 +0100 Subject: [PATCH] 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 --- apps/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/Makefile b/apps/Makefile index 059d8cc7..62bf6904 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -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)