summaryrefslogtreecommitdiff
path: root/lib/Makefile.sources
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-01-27 12:31:11 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-01-27 12:32:35 +0000
commit37c80354ff029209d62b8ee9a2d79e8d57230c0b (patch)
treede48abf6b8f835efed4b74e6c4ea05c9ed7086af /lib/Makefile.sources
parent2cbb005dc4565e72ee0faaac6cdb5ad4e89e6b6f (diff)
Only build chamelium if its dependencies are met
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/Makefile.sources')
-rw-r--r--lib/Makefile.sources5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Makefile.sources b/lib/Makefile.sources
index 8cb95d83..6348487f 100644
--- a/lib/Makefile.sources
+++ b/lib/Makefile.sources
@@ -83,9 +83,14 @@ lib_source_list = \
uwildmat/uwildmat.c \
igt_kmod.c \
igt_kmod.h \
+ $(NULL)
+
+if HAVE_CHAMELIUM
+lib_source_list += \
igt_chamelium.h \
igt_chamelium.c \
$(NULL)
+endif
.PHONY: version.h.tmp