summaryrefslogtreecommitdiffstats
path: root/rules/vorbis-tools.make
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.make
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.make')
-rw-r--r--rules/vorbis-tools.make15
1 files changed, 14 insertions, 1 deletions
diff --git a/rules/vorbis-tools.make b/rules/vorbis-tools.make
index 54032ea5e..ef811ef9d 100644
--- a/rules/vorbis-tools.make
+++ b/rules/vorbis-tools.make
@@ -35,7 +35,20 @@ VORBIS_TOOLS_LICENSE := GPLv2
VORBIS_TOOLS_CONF_TOOL := autoconf
VORBIS_TOOLS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
+ --enable-threads \
+ --disable-rpath \
$(GLOBAL_LARGE_FILE_OPTION) \
+ --$(call ptx/endis, PTXCONF_VORBIS_TOOLS_OGG123)-ogg123 \
+ --$(call ptx/endis, PTXCONF_VORBIS_TOOLS_OGGDEC)-oggdec \
+ --$(call ptx/endis, PTXCONF_VORBIS_TOOLS_OGGENC)-oggenc \
+ --$(call ptx/endis, PTXCONF_VORBIS_TOOLS_OGGINFO)-ogginfo \
+ --$(call ptx/endis, PTXCONF_VORBIS_TOOLS_VCUT)-vcut \
+ --$(call ptx/endis, PTXCONF_VORBIS_TOOLS_VORBISCOMMENT)-vorbiscomment \
+ --disable-oggtest \
+ --disable-vorbistest \
+ --disable-curltest \
+ --$(call ptx/wwo, PTXCONF_VORBIS_TOOLS_FLAC)-flac \
+ --$(call ptx/wwo, PTXCONF_VORBIS_TOOLS_OGG123)-speex \
--without-kate \
--without-curl
@@ -43,7 +56,7 @@ VORBIS_TOOLS_CONF_OPT := \
# Target-Install
# ----------------------------------------------------------------------------
-VORBIS_TOOLS_PROGS :=
+VORBIS_TOOLS_PROGS_y :=
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGG123) += ogg123
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGGDEC) += oggdec
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGGENC) += oggenc