drm/intel
John Stultz ed07718ae7 libdrm: intel/Android.mk: 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/Android.mk: 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
build.

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 Android.mk file references
libpciaccess which isn't a repo included in AOSP causes the build
failure.

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

Cc: Chad Versace <chad.versace@linux.intel.com>
Cc: Marissa Wall <marissaw@google.com>
Cc: Sean Paul <seanpaul@google.com>
Cc: Dan Willemsen <dwillemsen@google.com>
Cc: Tomasz Figa <tfiga@google.com>
Cc: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-03-18 23:18:36 -05:00
..
tests intel: Fix spelling mistakes 2016-04-07 18:15:56 +01:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
Android.mk libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64 2018-03-18 23:18:36 -05:00
Makefile.am automake: Don't include Android Makefiles in the release tarball 2016-07-23 09:45:53 +02:00
Makefile.sources intel: Add uthash.h to Makefile.sources. 2016-11-14 10:40:59 -08:00
intel-symbol-check *-symbol-check: Don't hard-code nm executable 2018-02-23 17:53:08 +00:00
intel_aub.h intel/aub: Sync the AUB defines with mesa's 2013-06-10 17:51:17 +01:00
intel_bufmgr.c intel: Add support for softpin 2015-12-14 11:31:25 -08:00
intel_bufmgr.h intel: Export a function to re-enable implicit synchronisation 2017-01-27 20:25:04 +00:00
intel_bufmgr_fake.c libdrm: random typo fixes 2016-11-22 13:54:31 +00:00
intel_bufmgr_gem.c always define HAVE_VALGRIND 2018-01-29 15:41:52 +00:00
intel_bufmgr_priv.h intel: Add support for softpin 2015-12-14 11:31:25 -08:00
intel_chipset.h intel/intel_chipset.h: Sync Cannonlake IDs. 2018-03-05 15:13:05 -08:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel/gen10: Add missed gen10 stuff 2017-06-30 08:30:43 -07:00
libdrm_intel.pc.in intel: Update package name and description in libdrm_intel.pc 2013-08-30 12:10:50 -04:00
meson.build meson: use pkg-config to detect libatomic_ops 2018-03-09 17:12:02 +00:00
mm.c drm: rename libdrm{,_macros}.h 2015-04-28 11:19:15 +01:00
mm.h drm: rename libdrm{,_macros}.h 2015-04-28 11:19:15 +01:00
test_decode.c Consistently check the fd value 2015-07-16 16:41:53 +01:00
uthash.h intel: Migrate handle/name lookups from linear lists to hashtables 2016-10-22 09:32:54 +01:00