summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-07-05 15:21:18 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2016-07-06 16:58:38 +0100
commitd342cd34ac871b29cab709b72e9f1db1ded7e7bb (patch)
tree159e5cd1e0bfbf5fea6d73609b76c7e7e95dd4b9 /Android.mk
parent7996a8707eacd59a45e7128a543393dca2776e26 (diff)
downloadlibdrm-d342cd34ac871b29cab709b72e9f1db1ded7e7bb.tar.gz
libdrm-d342cd34ac871b29cab709b72e9f1db1ded7e7bb.tar.bz2
libdrm-d342cd34ac871b29cab709b72e9f1db1ded7e7bb.zip
Android: strip out header files from sources list
AOSP master now errors if LOCAL_SRC_FILES contains headers, so filter out header files from the source lists. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 1d8cd651..2aa2bc96 100644
--- a/Android.mk
+++ b/Android.mk
@@ -32,7 +32,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libdrm
LOCAL_MODULE_TAGS := optional
-LOCAL_SRC_FILES := $(LIBDRM_FILES)
+LOCAL_SRC_FILES := $(patsubst %.h, , $(LIBDRM_FILES))
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(LOCAL_PATH) \
$(LOCAL_PATH)/include/drm
@@ -50,7 +50,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libdrm
LOCAL_MODULE_TAGS := optional
-LOCAL_SRC_FILES := $(LIBDRM_FILES)
+LOCAL_SRC_FILES := $(patsubst %.h, , $(LIBDRM_FILES))
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(LOCAL_PATH) \
$(LOCAL_PATH)/include/drm