aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGowtham Tammana2016-06-22 15:40:59 -0500
committerVishal Mahaveer2017-12-12 10:26:12 -0600
commit0cb63a7bd7d95084eb9d280d47c02de04ee41345 (patch)
tree8fa50cf91e00807c32777a34e24a2fcb09358ecd
parent18a9dd97e977625b985a51475eef4a91cf49550e (diff)
downloadexternal-libdrm-0cb63a7bd7d95084eb9d280d47c02de04ee41345.tar.gz
external-libdrm-0cb63a7bd7d95084eb9d280d47c02de04ee41345.tar.xz
external-libdrm-0cb63a7bd7d95084eb9d280d47c02de04ee41345.zip
omap: build file for android
Android.mk file to build libdrm_omap.so library, this gets invoked on BOARD_GPU_DRIVERS being set to `omapdrm`. Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
-rw-r--r--omap/Android.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/omap/Android.mk b/omap/Android.mk
new file mode 100644
index 00000000..1287c06f
--- /dev/null
+++ b/omap/Android.mk
@@ -0,0 +1,19 @@
1ifneq ($(filter $(BOARD_GPU_DRIVERS), omapdrm),)
2
3LOCAL_PATH := $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES := \
7 omap_drm.c
8
9LOCAL_CFLAGS := \
10 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
11
12LOCAL_MODULE := libdrm_omap
13LOCAL_MODULE_FLAGS := optional
14
15LOCAL_SHARED_LIBRARIES := libdrm
16
17include $(BUILD_SHARED_LIBRARY)
18
19endif