Limit find-copy-subdir-files to just files

am: f23e6bfda0

Change-Id: Ibf25febed5c9331144d84861f86703d676a87c3a
This commit is contained in:
Dan Willemsen 2016-07-29 04:43:05 +00:00 committed by android-build-merger
commit e132e76adb

View file

@ -74,7 +74,7 @@ endif
###########################################################
define find-copy-subdir-files
$(shell find $(2) -name "$(1)" | $(SED_EXTENDED) "s:($(2)/?(.*)):\\1\\:$(3)/\\2:" | sed "s://:/:g")
$(sort $(shell find $(2) -name "$(1)" -type f | $(SED_EXTENDED) "s:($(2)/?(.*)):\\1\\:$(3)/\\2:" | sed "s://:/:g"))
endef
# ---------------------------------------------------------------