1 # Copyright 2010, The Android-x86 Open Source Project
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 ifeq ($(strip $(BOARD_USES_DRM)),true)
11 LOCAL_PATH := $(call my-dir)
23 $(LOCAL_PATH)/include/drm
25 LOCAL_MODULE := libdrm
27 include $(BUILD_SHARED_LIBRARY)
32 intel/intel_bufmgr.c \
33 intel/intel_bufmgr_fake.c \
34 intel/intel_bufmgr_gem.c \
38 $(LOCAL_PATH)/include/drm
40 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
42 LOCAL_MODULE := libdrm_intel
44 LOCAL_SHARED_LIBRARIES := libdrm
46 include $(BUILD_SHARED_LIBRARY)