mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
Build System: Create Makefile macro MOD_ADD_SOURCE.
This new macro allows a single line to add all additional sources to a module. This helps prevent modules from missing steps, and makes future changes easier since they can be made in a single place. ASTERISK-24960 #close Reported by: Corey Farrell Change-Id: I38f12d8b72c5e7bb37a879b2fb51761a2855eb4b
This commit is contained in:
@@ -19,8 +19,5 @@
|
||||
#
|
||||
|
||||
{{#apis}}
|
||||
res_ari_{{c_name}}.so: ari/resource_{{c_name}}.o
|
||||
|
||||
ari/resource_{{c_name}}.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,res_ari_{{c_name}})
|
||||
|
||||
$(call MOD_ADD_C,res_ari_{{c_name}},ari/resource_{{c_name}}.c)
|
||||
{{/apis}}
|
||||
|
Reference in New Issue
Block a user