From: Kevin P. Fleming Date: Fri, 14 Oct 2011 21:36:06 +0000 (+0000) Subject: Change the internal name of the menuselect options that are used to control X-Git-Tag: 1.8.9.0-rc1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25bc68ac1ea66b21670088659dc6edff64f37716;p=thirdparty%2Fasterisk.git Change the internal name of the menuselect options that are used to control whether modules are embedded or not; using just the bare category name led to accidentally enabling these options when users used the wrong "--enable" operation on the menuselect command line. Now the internal option names are prefixed with "EMBED_", so they won't be the same as the name of the category containing the modules they control the embedding of. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@341022 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules index c0db889da3..e96342ee2e 100644 --- a/Makefile.moddir_rules +++ b/Makefile.moddir_rules @@ -1,6 +1,6 @@ # # Asterisk -- A telephony toolkit for Linux. -# +# # Makefile rules for subdirectories containing modules # # Copyright (C) 2006, Digium, Inc. @@ -46,7 +46,7 @@ endif C_MODS:=$(filter-out $(MENUSELECT_$(MENUSELECT_CATEGORY)),$(ALL_C_MODS)) CC_MODS:=$(filter-out $(MENUSELECT_$(MENUSELECT_CATEGORY)),$(ALL_CC_MODS)) -ifneq ($(findstring $(MENUSELECT_CATEGORY),$(MENUSELECT_EMBED)),) +ifneq ($(findstring EMBED_$(MENUSELECT_CATEGORY),$(MENUSELECT_EMBED)),) EMBEDDED_MODS:=$(C_MODS) $(CC_MODS) else LOADABLE_MODS:=$(C_MODS) $(CC_MODS) diff --git a/build_tools/embed_modules.xml b/build_tools/embed_modules.xml index bf13ea9909..a7e4cfd5d0 100644 --- a/build_tools/embed_modules.xml +++ b/build_tools/embed_modules.xml @@ -1,45 +1,45 @@ - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended - + gnu_ld extended