summaryrefslogtreecommitdiffstats
path: root/rules/vorbis-tools.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-05-16 10:09:41 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-05-17 08:20:58 +0200
commit36adfb6efc2c1b1a1a14dfe7a699a4049c1373e5 (patch)
tree9b3838892d00f1ef48f8fe5309b447a3e1b99917 /rules/vorbis-tools.in
parent7e10bfb370a87cb46082e61abfcd5eb909d3d1c2 (diff)
downloadptxdist-36adfb6efc2c1b1a1a14dfe7a699a4049c1373e5.tar.gz
ptxdist-36adfb6efc2c1b1a1a14dfe7a699a4049c1373e5.tar.xz
vorbis-tools: don't build tools that aren't installed
This avoids build errors when dependencies for those tools are missing. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/vorbis-tools.in')
-rw-r--r--rules/vorbis-tools.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules/vorbis-tools.in b/rules/vorbis-tools.in
index 2079cfb55..2061fd1e2 100644
--- a/rules/vorbis-tools.in
+++ b/rules/vorbis-tools.in
@@ -6,7 +6,7 @@ menuconfig VORBIS_TOOLS
select LIBOGG
select LIBVORBIS
select LIBAO if VORBIS_TOOLS_OGG123
- select FLAC if VORBIS_TOOLS_OGG123 || VORBIS_TOOLS_OGGENC
+ select FLAC if VORBIS_TOOLS_FLAC
select SPEEX if VORBIS_TOOLS_OGG123
select SPEEX_FLOAT_API if VORBIS_TOOLS_OGG123
help
@@ -14,8 +14,12 @@ menuconfig VORBIS_TOOLS
if VORBIS_TOOLS
+config VORBIS_TOOLS_FLAC
+ bool
+
config VORBIS_TOOLS_OGG123
bool "ogg123"
+ select VORBIS_TOOLS_FLAC
help
ogg123 (a playback tool)
@@ -26,6 +30,7 @@ config VORBIS_TOOLS_OGGDEC
config VORBIS_TOOLS_OGGENC
bool "oggenc"
+ select VORBIS_TOOLS_FLAC
help
oggenc (an encoder)