diff --git a/core/definitions.mk b/core/definitions.mk index 46bc3d14e0..0df723a869 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -222,6 +222,19 @@ define all-subdir-Iaidl-files $(call all-Iaidl-files-under,.) endef +########################################################### +## Find all of the logtags files under the named directories. +## Meant to be used like: +## SRC_FILES := $(call all-logtags-files-under,src) +########################################################### + +define all-logtags-files-under +$(patsubst ./%,%, \ + $(shell cd $(LOCAL_PATH) ; \ + find $(1) -name "*.logtags" -and -not -name ".*") \ + ) +endef + ########################################################### ## Find all of the html files under the named directories. ## Meant to be used like: