diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-08 11:56:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-08 12:17:31 +0100 |
commit | 95374225e865da3a30153f73e8bb536700d15459 (patch) | |
tree | ab8797a6f255a0d76e5d8e7439b8fe4a9b34ca90 /benchmarks | |
parent | cd64e193299be4b9733a5e804cedd99e2072830f (diff) |
Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/Makefile.am | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/benchmarks/Makefile.am b/benchmarks/Makefile.am index 3196b2c2..6829bbef 100644 --- a/benchmarks/Makefile.am +++ b/benchmarks/Makefile.am @@ -1,8 +1,15 @@ -bin_PROGRAMS = \ - intel_upload_blit_large \ - intel_upload_blit_large_gtt \ - intel_upload_blit_large_map \ - intel_upload_blit_small +NULL=# + +bin_PROGRAMS = $(NULL) + +if HAVE_DRM +bin_PROGRAMS += \ + intel_upload_blit_large \ + intel_upload_blit_large_gtt \ + intel_upload_blit_large_map \ + intel_upload_blit_small \ + $(NULL) +endif BENCHMARK_LIBS = \ ../lib/libintel_tools.la \ |