android: Added function to include source files from plugin subdirectories
parent
1973743443
commit
71b23661d4
|
@ -13,6 +13,17 @@ add_plugin = $(if $(call plugin_enabled,$(1)), \
|
|||
) \
|
||||
) \
|
||||
)
|
||||
add_plugin_subdirs = $(if $(call plugin_enabled,$(1)), \
|
||||
$(patsubst $(LOCAL_PATH)/%,%, \
|
||||
$(wildcard \
|
||||
$(subst %,$(subst -,_,$(strip $(1))), \
|
||||
$(addprefix $(LOCAL_PATH)/plugins/%/,$(addsuffix /*.c, \
|
||||
$(strip $(2)) \
|
||||
)) \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
)
|
||||
|
||||
# strongSwan version, replaced by top Makefile
|
||||
strongswan_VERSION := "@PACKAGE_VERSION@"
|
||||
|
|
Loading…
Reference in New Issue