mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user