[Mesa-dev] [PATCH 4/8] Android: remove headers from LOCAL_SRC_FILES

Rob Herring robh at kernel.org
Wed Feb 24 18:56:27 UTC 2016


The Android build system now spits out warnings for header files listed in
LOCAL_SRC_FILES, so strip them out.

Cc: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
---
 Android.common.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Android.common.mk b/Android.common.mk
index 7ca989c..610b213 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))
-- 
2.5.0



More information about the mesa-dev mailing list