aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'nouveau/Android.mk')
-rw-r--r--nouveau/Android.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/nouveau/Android.mk b/nouveau/Android.mk
new file mode 100644
index 00000000..734fc219
--- /dev/null
+++ b/nouveau/Android.mk
@@ -0,0 +1,30 @@
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4# Import variables LIBDRM_NOUVEAU_FILES, LIBDRM_NOUVEAU_H_FILES
5include $(LOCAL_PATH)/Makefile.sources
6
7LOCAL_MODULE := libdrm_nouveau
8LOCAL_MODULE_TAGS := optional
9
10LOCAL_SHARED_LIBRARIES := libdrm
11
12LOCAL_SRC_FILES := $(LIBDRM_NOUVEAU_FILES)
13LOCAL_EXPORT_C_INCLUDE_DIRS += \
14 $(LOCAL_PATH)/nouveau
15
16LOCAL_C_INCLUDES := \
17 $(LIBDRM_TOP) \
18 $(LIBDRM_TOP)/nouveau \
19 $(LIBDRM_TOP)/include/drm
20
21LOCAL_CFLAGS := \
22 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
23
24LOCAL_COPY_HEADERS := $(LIBDRM_NOUVEAU_H_FILES)
25LOCAL_COPY_HEADERS_TO := libdrm
26
27LOCAL_SHARED_LIBRARIES := \
28 libdrm
29
30include $(BUILD_SHARED_LIBRARY)