aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Rossi2015-08-18 04:43:57 -0500
committerEmil Velikov2015-08-20 10:58:32 -0500
commitb201abe76b4adfd4defc5c5d7dd4b5f771ebb51c (patch)
tree01186a32637485a5a638211994d84cf1473c24a5 /amdgpu/Android.mk
parentae7f7b27a10d4ff0967c45984e5bf577cef8b036 (diff)
downloadexternal-libdrm-b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c.tar.gz
external-libdrm-b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c.tar.xz
external-libdrm-b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c.zip
amdgpu: add Android build support
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'amdgpu/Android.mk')
-rw-r--r--amdgpu/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk
new file mode 100644
index 00000000..469df1b2
--- /dev/null
+++ b/amdgpu/Android.mk
@@ -0,0 +1,18 @@
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4# Import variables LIBDRM_AMDGPU_FILES, LIBDRM_AMDGPU_H_FILES
5include $(LOCAL_PATH)/Makefile.sources
6
7LOCAL_MODULE := libdrm_amdgpu
8LOCAL_MODULE_TAGS := optional
9
10LOCAL_SHARED_LIBRARIES := libdrm
11
12LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES)
13LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
14
15LOCAL_CFLAGS := \
16 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
17
18include $(BUILD_SHARED_LIBRARY)