summaryrefslogtreecommitdiffstats
blob: 7e73e41bdeeeffa04c0759e4e0c41bc3d57f6cbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ifeq ($(TARGET_BOARD_PLATFORM), $(filter $(TARGET_BOARD_PLATFORM), am65x))

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

# HAL module implementation, not prelinked and stored in
# hw/<HWCOMPOSE_HARDWARE_MODULE_ID>.<ro.product.board>.so

LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM)

LOCAL_PRELINK_MODULE := false
LOCAL_ARM_MODE := arm
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_VENDOR_MODULE := true

LOCAL_SHARED_LIBRARIES := \
	liblog \
	libcutils \
	libutils \
	libhardware \
	libhardware_legacy \
	libdrm \
	libkmsxx \

LOCAL_HEADER_LIBRARIES := \
	gl_headers \

LOCAL_SRC_FILES := \
	display.cpp \
	drmfb.cpp \
	format.cpp \
	hwc.cpp \

LOCAL_CFLAGS := \
	-DLOG_TAG=\"ti_hwc\" \
	-DSUPPORT_ANDROID_MEMTRACK_HAL \
	-Wno-unused-parameter \
	-fexceptions \
	-frtti \

LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_CFLAGS += -Wno-unused-variable
LOCAL_CFLAGS += -Wno-unused-label
LOCAL_CFLAGS += -Wno-unused-function
LOCAL_CFLAGS += -Wno-missing-field-initializers

include $(BUILD_SHARED_LIBRARY)

endif