aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/freedreno/drm
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-27 11:40:42 +0000
committerEmil Velikov <[email protected]>2015-04-22 14:23:28 +0100
commit86919352e3da1c80409fdcb67c36f29a9687b7a9 (patch)
treed0b0a91b7bf114572dc9b7a48b378c69d3f10b4d /src/gallium/winsys/freedreno/drm
parent413bc0a618d39873336cbfaf8fb5e43217f66ccf (diff)
android: use LOCAL_SHARED_LIBRARIES over TARGET_OUT_HEADERS
... to manage the LIBDRM*_CFLAGS. The former is the recommended approach by the Android build system developers while the latter has been depreciated for quite some time. Cc: "10.4 10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/winsys/freedreno/drm')
-rw-r--r--src/gallium/winsys/freedreno/drm/Android.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/winsys/freedreno/drm/Android.mk b/src/gallium/winsys/freedreno/drm/Android.mk
index 7bd31d92419..b45d3d4b68e 100644
--- a/src/gallium/winsys/freedreno/drm/Android.mk
+++ b/src/gallium/winsys/freedreno/drm/Android.mk
@@ -27,10 +27,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_C_INCLUDES := \
- $(TARGET_OUT_HEADERS)/libdrm \
- $(TARGET_OUT_HEADERS)/freedreno
-
+LOCAL_SHARED_LIBRARIES := libdrm libdrm_freedreno
LOCAL_MODULE := libmesa_winsys_freedreno
include $(GALLIUM_COMMON_MK)