aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index b09e693e..50f93e56 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,6 +24,9 @@ LOCAL_SRC_FILES := \
24 xf86drmRandom.c \ 24 xf86drmRandom.c \
25 xf86drmSL.c 25 xf86drmSL.c
26 26
27LOCAL_EXPORT_C_INCLUDE_DIRS += \
28$(LOCAL_PATH) $(LOCAL_PATH)/include/drm
29
27LOCAL_C_INCLUDES += \ 30LOCAL_C_INCLUDES += \
28 $(LOCAL_PATH)/include/drm 31 $(LOCAL_PATH)/include/drm
29 32
@@ -32,6 +35,27 @@ LOCAL_MODULE_TAGS := optional
32 35
33include $(BUILD_SHARED_LIBRARY) 36include $(BUILD_SHARED_LIBRARY)
34 37
38# Build static for recovery UI
39include $(CLEAR_VARS)
40
41LOCAL_SRC_FILES := \
42 xf86drm.c \
43 xf86drmHash.c \
44 xf86drmMode.c \
45 xf86drmRandom.c \
46 xf86drmSL.c
47
48LOCAL_EXPORT_C_INCLUDE_DIRS += \
49$(LOCAL_PATH) $(LOCAL_PATH)/include/drm
50
51LOCAL_C_INCLUDES += \
52 $(LOCAL_PATH)/include/drm
53
54LOCAL_MODULE := libdrm
55LOCAL_MODULE_TAGS := optional
56
57include $(BUILD_STATIC_LIBRARY)
58
35################ OMAP DRM Lib ####################### 59################ OMAP DRM Lib #######################
36 60
37include $(CLEAR_VARS) 61include $(CLEAR_VARS)