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 11:14:47 +0000
commitbb83ce066464506bee84761cbd20302fd099bf5f (patch)
tree9d106075ad1ea42dcf14582395ba940c6dc18c66
parent1fa66f0d038b7e6b5fbd17be166dd10513986752 (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> (cherry picked from commit 0663edf85b8e055dfecf290afab1a15c68da961a)
-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))