From f3fd11beaa70b0624ab1d6c7d8e25c65eea942ac Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 7 Sep 2014 17:54:39 +0100 Subject: libkms: build the intel backend only when needed Signed-off-by: Emil Velikov Reviewed-by: Jakob Bornecrantz --- libkms/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libkms/Makefile.am') diff --git a/libkms/Makefile.am b/libkms/Makefile.am index 449a73ba..dae44e96 100644 --- a/libkms/Makefile.am +++ b/libkms/Makefile.am @@ -15,7 +15,6 @@ libkms_la_LIBADD = ../libdrm.la libkms_la_SOURCES = \ internal.h \ linux.c \ - intel.c \ dumb.c \ api.c @@ -23,6 +22,10 @@ if HAVE_VMWGFX libkms_la_SOURCES += vmwgfx.c endif +if HAVE_INTEL +libkms_la_SOURCES += intel.c +endif + if HAVE_NOUVEAU libkms_la_SOURCES += nouveau.c endif -- cgit v1.2.3