summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-02-24 12:56:27 -0600
committerEmil Velikov <emil.l.velikov@gmail.com>2016-02-29 10:51:44 +0000
commit0663edf85b8e055dfecf290afab1a15c68da961a (patch)
tree5a3c4075cd6fdad754eb636f7e02d1ab9799e882
parent6dae9176d60d12de61aa03906c44f81e20ef7622 (diff)
Android: remove headers from LOCAL_SRC_FILES
The Android build system now spits out warnings for header files listed in LOCAL_SRC_FILES, so strip them out. Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--Android.common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 7ca989c0ab7..610b213f303 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -89,3 +89,6 @@ LOCAL_CPPFLAGS += \
ifeq ($(strip $(LOCAL_MODULE_TAGS)),)
LOCAL_MODULE_TAGS := optional
endif
+
+# Quiet down the build system and remove any .h files from the sources
+LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))