Android: remove headers from LOCAL_SRC_FILES
authorRob Herring <robh@kernel.org>
Wed, 24 Feb 2016 18:56:27 +0000 (12:56 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Feb 2016 10:51:44 +0000 (10:51 +0000)
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>
Android.common.mk

index 7ca989c0ab71a736bb5e98f14a238e006e16798e..610b213f3031126b733fee4ecc381541c5e69607 100644 (file)
@@ -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))