diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2011-07-10 20:17:41 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2011-07-11 12:59:29 +0800 |
commit | 3dcc0159dcbc8f81fa2e1d0ea1c3a975a187b716 (patch) | |
tree | 9d1e4a0fb2d84ae7478c4b127ef0ee76225c577c /Android.mk | |
parent | e59db8f9ce30ab294d6d230c2e1802689abe815c (diff) | |
download | external_drm_gralloc-3dcc0159dcbc8f81fa2e1d0ea1c3a975a187b716.zip external_drm_gralloc-3dcc0159dcbc8f81fa2e1d0ea1c3a975a187b716.tar.gz external_drm_gralloc-3dcc0159dcbc8f81fa2e1d0ea1c3a975a187b716.tar.bz2 |
support other drivers in pipe
Tested with r600g.
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -39,6 +39,8 @@ DRM_USES_RADEON := $(findstring true, \ DRM_USES_NOUVEAU := $(findstring true, \ $(BOARD_USES_NOUVEAU)) +DRM_USES_PIPE := false + LOCAL_SRC_FILES := \ gralloc.c \ gralloc_drm.c \ @@ -84,11 +86,19 @@ LOCAL_CFLAGS += -DENABLE_PIPE LOCAL_C_INCLUDES += \ external/mesa/src/gallium/include \ external/mesa/src/gallium/winsys \ + external/mesa/src/gallium/drivers \ external/mesa/src/gallium/auxiliary + +ifeq ($(strip $(BOARD_USES_R600G)),true) +LOCAL_CFLAGS += -DENABLE_PIPE_R600 +LOCAL_STATIC_LIBRARIES += \ + libmesa_pipe_r600 \ + libmesa_winsys_r600 +endif + LOCAL_STATIC_LIBRARIES += \ - libmesa_winsys_nouveau \ - libmesa_pipe_nouveau \ libmesa_gallium +LOCAL_SHARED_LIBRARIES += libdl endif # DRM_USES_PIPE LOCAL_MODULE := gralloc.$(TARGET_PRODUCT) |