forked from openkylin/platform_build
am 1e317e77: am 993ffb80: Merge "Add all-S-files-under."
* commit '1e317e77fa86ee0450e8a7b1b2ab5bd51720189f': Add all-S-files-under.
This commit is contained in:
commit
a0945a24f9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue