libmad: avoid using legacy _thumb overrides
PATCH 1/1 libmad: avoid using legacy _thumb overrides
From: Ming Liu <[email protected]>
_thumb had been dropped from overrides since commit 351443d7:
[ feature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides ]
Use bb.utils.contains('TUNE_FEATURES', 'thumb', **, **, d) instead.
[YOCTO #9323]
--- meta/recipes-multimedia/libmad/libmad_0.15.1b.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/libmad/libmad_0.15.1b.bb +1 -1
@@ -27,7 +27,7 @@ inherit autotools pkgconfig EXTRA_OECONF = "-enable-speed --enable-shared" # The ASO's don't take any account of thumb... -EXTRA_OECONF_append_thumb = " --disable-aso --enable-fpm=default" +EXTRA_OECONF_append = "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' --disable-aso --enable-fpm=default', '', d)}" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () {
Signature · 1 line
1.9.1
Quoted 6 lines · Ming Liu
From: Ming Liu <[email protected]>
_thumbhad been dropped from overrides since commit351443d7:
[ feature-arm-thumb.inc: drop legacy_thumband _thumb-interwork over-rides ]Use
bb.utils.contains('TUNE_FEATURES', 'thumb', **, **, d)instead.
Finding thumb in TUNE_FEATURES is not a valid way to determine whether or not a particular package is being compiled as Thumb.
Since this recipe explicitly sets ARM_INSTRUCTION_SET = "arm", I think the correct fix is simply to remove the "EXTRA_OECONF_append_thumb" line.
Quoted 28 lines
[YOCTO #9323]
Signed-off-by Ming Liu <[email protected]>--- meta/recipes-multimedia/libmad/libmad_0.15.1b.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-multimedia/libmad/libmad_0.15.1b.bb +1
-2@@ -27,7 +27,7 @@ inherit autotools pkgconfig EXTRA_OECONF = "-enable-speed --enable-shared" # The ASO's don't take any account of thumb... -EXTRA_OECONF_append_thumb = " --disable-aso --enable-fpm=default" +EXTRA_OECONF_append = "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' --disable-aso --enable-fpm=default', '', d)}" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () { --1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core