aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk1
-rw-r--r--nouveau/Android.mk30
2 files changed, 31 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 3f436259..d040d4fe 100644
--- a/Android.mk
+++ b/Android.mk
@@ -55,6 +55,7 @@ include $(BUILD_SHARED_LIBRARY)
55 55
56SUBDIRS := \ 56SUBDIRS := \
57 intel \ 57 intel \
58 nouveau \
58 radeon 59 radeon
59 60
60mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS)) 61mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS))
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)