aboutsummaryrefslogtreecommitdiffstats
blob: 91b5a99c612a48f08ff5d2d5e851de9390016f85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ifneq ($(filter $(BOARD_GPU_DRIVERS), omapdrm),)

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	omap_drm.c

LOCAL_CFLAGS := \
	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1

LOCAL_MODULE := libdrm_omap
LOCAL_MODULE_FLAGS := optional

LOCAL_SHARED_LIBRARIES := libdrm
LOCAL_VENDOR_MODULE := true

include $(BUILD_SHARED_LIBRARY)

endif