demos/Makefile: Don't build tools that depend on libdrm_intel.
A message that is not in the archive (sent off-list or not yet received): 2b8f-57460580-7-7d43af80@249225208
Quoted 19 lines · On Wednesday, May 25, 2016 19:18 BST, [email protected] wrote:
From: Robert Foss <[email protected]>
Use the
HAS_INTELautomake flag to avoid building tools that won'tcompile unless
libdrm_intelis available in the build system.Signed-off-by Robert Foss <[email protected]>--- demos/Android.mk | 5 ++++- demos/Makefile.am | 8 +++++--- demos/Makefile.sources | 7 +++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 demos/Makefile.sourcesdemos/Android.mk +0
-0
demos/Android.mk LOCAL_PATH := $(call my-dir) · line 12
Quoted 10 lines
demos/Android.mk +4
-1@@ -4,8 +4,11 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_SRC_FILES := intel_sprite_on.c +LOCAL_SRC_FILES := +ifeq ($(HAVE_LIBDRM_INTEL),true) + LOCAL_SRC_FILES += $(LIBDRM_INTEL_BIN) +endif
Note for the future, you don't have to do anything.
As/if one tries to get IGT on Android without libdrm_intel and there aren't any non-intel demos, the guard should cover the whole file. I doubt their build system will be happy if you request a program with no sources and just static library.
-Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx