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

* commit '1e317e77fa86ee0450e8a7b1b2ab5bd51720189f':
  Add all-S-files-under.
This commit is contained in:
Elliott Hughes 2014-02-12 22:47:32 +00:00 committed by Android Git Automerger
commit a0945a24f9
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: