Commit ed07718a authored by John Stultz's avatar John Stultz Committed by Rob Herring
Browse files

libdrm: intel/ Filter libdrm_intel library requirements on x86/x86_64

When building AOSP after updating libdrm project to the
freedesktop/master branch, I've seen the following build errors:

external/libdrm/intel/ error: libdrm_intel
(SHARED_LIBRARIES android-arm64) missing libpciaccess
(SHARED_LIBRARIES android-arm64) You can set
ALLOW_MISSING_DEPENDENCIES=true in your environment if this is
intentional, but that may defer real problems until later in the

Using ALLOW_MISSING_DEPENDENCIES=true when building allows
things to function properly, but is not ideal.

So basically, while I'm not including the libdrm_intel package
into the build, just the fact that the file references
libpciaccess which isn't a repo included in AOSP causes the build

So it seems we need some sort of conditional filter in the to skip over it if we're not building for intel.

Cc: Chad Versace <>
Cc: Marissa Wall <>
Cc: Sean Paul <>
Cc: Dan Willemsen <>
Cc: Tomasz Figa <>
Cc: Robert Foss <>
Reviewed-by: Emil Velikov's avatarEmil Velikov <>
Signed-off-by: John Stultz's avatarJohn Stultz <>
Signed-off-by: Rob Herring's avatarRob Herring <>
parent dff690ac
......@@ -21,6 +21,7 @@
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
......@@ -37,3 +38,4 @@ LOCAL_SHARED_LIBRARIES := \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment