summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-09-10 16:25:42 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 11:29:01 +0100
commitbbcc66dc2d69821adb5b39b3642c368fb74ad4d7 (patch)
tree2a1ed802684a0fcff5d57fd1b4e2b34c1bf22f02 /meta
parent4586c24ad156773568cd38794936b8af62e862be (diff)
downloadopenembedded-core-bbcc66dc2d69821adb5b39b3642c368fb74ad4d7.tar.gz
openembedded-core-bbcc66dc2d69821adb5b39b3642c368fb74ad4d7.tar.bz2
openembedded-core-bbcc66dc2d69821adb5b39b3642c368fb74ad4d7.zip
flac_1.2.1.bb: use TUNE_FEATURES to enable/disable altivec
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/flac/flac_1.2.1.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/flac/flac_1.2.1.bb b/meta/recipes-multimedia/flac/flac_1.2.1.bb
index 157128fdc2..6520b714d8 100644
--- a/meta/recipes-multimedia/flac/flac_1.2.1.bb
+++ b/meta/recipes-multimedia/flac/flac_1.2.1.bb
@@ -36,10 +36,8 @@ EXTRA_OECONF = "--disable-oggtest --disable-id3libtest \
--without-xmms-exec-prefix \
--without-libiconv-prefix \
--without-id3lib"
-EXTRA_OECONF_prepend_e500mc = "--disable-altivec "
-EXTRA_OECONF_prepend_e5500 = "--disable-altivec "
-EXTRA_OECONF_prepend_e5500-64b = "--disable-altivec "
-EXTRA_OECONF_prepend_mpc8315e-rdb = "--disable-altivec "
+
+EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "altivec", " --enable-altivec", " --disable-altivec", d)}"
PACKAGES += "libflac libflac++ liboggflac liboggflac++"
FILES_${PN} = "${bindir}/*"