[Intel-gfx] [RFC i-g-t 2/2] overlay/Makefile: Don't try to build overlay if libpciaccess is unavailable.

robert.foss at collabora.com robert.foss at collabora.com
Wed May 25 18:43:59 UTC 2016


From: Robert Foss <robert.foss at collabora.com>

Don't try to build overlay if libpciaccess is unavailable.
This is useful for platforms that typically don't have pci hardware, like ARM
platforms.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
 overlay/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/overlay/Makefile.am b/overlay/Makefile.am
index c926557..a60c6b8 100644
--- a/overlay/Makefile.am
+++ b/overlay/Makefile.am
@@ -1,5 +1,8 @@
+
 if BUILD_OVERLAY
-bin_PROGRAMS = intel-gpu-overlay
+	if HAVE_LIBPCIACCESS
+		bin_PROGRAMS = intel-gpu-overlay
+	endif
 endif
 
 AM_CPPFLAGS = -I.
-- 
2.7.4



More information about the Intel-gfx mailing list