blob: 643a59dc42eb728068296966738e5fbf6a23fa10 (
plain)
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
|
ifeq ($(strip $(MESA_BUILD_R600G)),true)
LOCAL_PATH := $(call my-dir)
# from drm/Makefile
C_SOURCES = \
bof.c \
evergreen_hw_context.c \
radeon_bo.c \
radeon_pciid.c \
r600_bo.c \
r600_drm.c \
r600_hw_context.c \
r600_bomgr.c
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
$(addprefix drm/, $(C_SOURCES))
LOCAL_CFLAGS := \
-std=c99 \
-fvisibility=hidden \
-Wno-sign-compare
LOCAL_C_INCLUDES := \
external/mesa/include \
external/mesa/src/gallium/include \
external/mesa/src/gallium/auxiliary \
external/mesa/src/gallium/drivers/r600 \
external/drm \
external/drm/include/drm
LOCAL_MODULE := libmesa_winsys_r600
include $(BUILD_STATIC_LIBRARY)
endif # MESA_BUILD_R600G
|