aboutsummaryrefslogtreecommitdiffstats
path: root/radeon
diff options
context:
space:
mode:
authorDan Willemsen2016-01-25 18:48:52 -0600
committerDan Willemsen2016-01-25 19:10:29 -0600
commit3e22b16620b443a59a1ad66047f9bbb2a3b6fa13 (patch)
tree0c15acb61f7bce70b77c08ab55414d4b1e1c43ad /radeon
parentb069597d8223923cf0c350eb199287c1f880035e (diff)
downloadexternal-libdrm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.tar.gz
external-libdrm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.tar.xz
external-libdrm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.zip
Remove headers from LOCAL_SRC_FILES
The build system does not use headers in LOCAL_SRC_FILES. To prevent typos, it's becoming a warning to add something to LOCAL_SRC_FILES that is not used. Since these lists are coming from file shared with other Makefile systems, use filter-out to do this dynamically. Once we move to Soong, we will need our own lists though - Soong cannot read makefiles. Remove LOCAL_EXPORT_C_INCLUDE_DIR entries that do not exist. Also clean up LOCAL_C_INCLUDES -- with LOCAL_EXPORT_C_INCLUDE_DIRS and the default $(LOCAL_PATH) entry, most were not necessary. Remove LOCAL_MODULE_TAGS := optional, that's the default. Change-Id: I2d77814eb227371da2945f6aede671d9f66d7b09
Diffstat (limited to 'radeon')
-rw-r--r--radeon/Android.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/radeon/Android.mk b/radeon/Android.mk
index 7eea6416..8783c871 100644
--- a/radeon/Android.mk
+++ b/radeon/Android.mk
@@ -5,18 +5,10 @@ include $(CLEAR_VARS)
5include $(LOCAL_PATH)/Makefile.sources 5include $(LOCAL_PATH)/Makefile.sources
6 6
7LOCAL_MODULE := libdrm_radeon 7LOCAL_MODULE := libdrm_radeon
8LOCAL_MODULE_TAGS := optional
9 8
10LOCAL_SHARED_LIBRARIES := libdrm 9LOCAL_SHARED_LIBRARIES := libdrm
11 10
12LOCAL_SRC_FILES := $(LIBDRM_RADEON_FILES) 11LOCAL_SRC_FILES := $(filter-out %.h,$(LIBDRM_RADEON_FILES))
13LOCAL_EXPORT_C_INCLUDE_DIRS += \
14 $(LOCAL_PATH)/radeon
15
16LOCAL_C_INCLUDES := \
17 $(LIBDRM_TOP) \
18 $(LIBDRM_TOP)/radeon \
19 $(LIBDRM_TOP)/include/drm
20 12
21LOCAL_CFLAGS := \ 13LOCAL_CFLAGS := \
22 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 14 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1