diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2015-10-23 18:42:57 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2015-10-26 09:34:22 +0000 |
commit | 5648aeb41182e67cfb1b5db966ec021910461fce (patch) | |
tree | 28700f4e400e02832c9d553de6fcd3f75c0ee55e | |
parent | 264addf5a6d63eb2c801546b5a72942c2e13774a (diff) |
libdrm: Disable intel and freedrenohacking/pse28-clean
Disable intel b/c it's missing its pciaccess dependency.
Disable freedreno b/c it doesn't compile on 64-bit and
is apparently broken in other ways.
This patch is inspired by a similar patch by Sean Paul
that became obsolete due to changes to the libdrm Android
integration. It has the same effort as its predecessor.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Sean Paul <seanpaul@chromium.org>
-rw-r--r-- | freedreno/Android.mk | 4 | ||||
-rw-r--r-- | intel/Android.mk | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/freedreno/Android.mk b/freedreno/Android.mk index 2645f737..27210a69 100644 --- a/freedreno/Android.mk +++ b/freedreno/Android.mk @@ -1,3 +1,5 @@ +ifeq ($(strip $(BOARD_NEEDS_FREEDRENO_LIBDRM)),true) + LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -16,3 +18,5 @@ LOCAL_CFLAGS := \ -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 include $(BUILD_SHARED_LIBRARY) + +endif diff --git a/intel/Android.mk b/intel/Android.mk index 6582dfde..b65e1822 100644 --- a/intel/Android.mk +++ b/intel/Android.mk @@ -21,6 +21,8 @@ # IN THE SOFTWARE. # +ifeq ($(strip $(BOARD_NEEDS_INTEL_LIBDRM)),true) + LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -41,3 +43,5 @@ LOCAL_SHARED_LIBRARIES := \ libpciaccess include $(BUILD_SHARED_LIBRARY) + +endif |