From bbcc66dc2d69821adb5b39b3642c368fb74ad4d7 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Mon, 10 Sep 2012 16:25:42 -0500 Subject: flac_1.2.1.bb: use TUNE_FEATURES to enable/disable altivec Signed-off-by: Matthew McClintock --- meta/recipes-multimedia/flac/flac_1.2.1.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'meta') 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}/*" -- cgit v1.2.3