Merge "Add all-logtags-files-under macro"
This commit is contained in:
commit
cd5d82afa5
1 changed files with 13 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue