Include only first makefile in any of the nested subfolders.
This change should play nicer with Android build system. Recommended by Dan Willemsen
Change-Id: I351ea699eb7a6b7d392781fbe61b2e17ce809c59
diff --git a/Android.mk b/Android.mk
index c92cf44..c38d99b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -13,5 +13,5 @@
# limitations under the License.
ifneq ($(filter vsoc_x86 vsoc_x86_64, $(TARGET_DEVICE)),)
LOCAL_PATH:= $(call my-dir)
-include $(shell find $(LOCAL_PATH)/*/ -name "Android.mk")
+include $(call first-makefiles-under,$(LOCAL_PATH))
endif