summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-03-12 12:43:49 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-12 12:43:49 +0100
commitc4426a49db961b99ead4845fe2dcb6adfe84381e (patch)
treef83cc0644dbd73169e86f9596901e224a6d27039
parente9b7dc230b83bed63fbd15409165071f635207da (diff)
examples: Only build RPi EGL example if RPi was chosen as target
-rw-r--r--examples/egl/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/egl/Makefile.am b/examples/egl/Makefile.am
index bee9c1c..0d32d08 100644
--- a/examples/egl/Makefile.am
+++ b/examples/egl/Makefile.am
@@ -1,4 +1,8 @@
-noinst_PROGRAMS = testegl
+noinst_PROGRAMS =
+
+if USE_OMX_TARGET_RPI
+noinst_PROGRAMS += testegl
+endif
testegl_SOURCES = testegl.c