am 993ffb80: Merge "Add all-S-files-under."

* commit '993ffb802ee90e07e73e67e523fd040395dfd74d':
  Add all-S-files-under.
This commit is contained in:
Elliott Hughes 2014-02-12 19:22:29 +00:00 committed by Android Git Automerger
commit 1e317e77fa
1 changed files with 13 additions and 0 deletions

View File

@ -274,6 +274,19 @@ $(patsubst ./%,%, \
)
endef
###########################################################
## Find all of the S files under the named directories.
## Meant to be used like:
## SRC_FILES := $(call all-c-files-under,src tests)
###########################################################
define all-S-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find -L $(1) -name "*.S" -and -not -name ".*") \
)
endef
###########################################################
## Find all of the html files under the named directories.
## Meant to be used like: