libmad: avoid using legacy _thumb overrides
PATCH 1/1 libmad: avoid using legacy _thumb overrides
From: Peter Liu <[email protected]>
_thumb had been dropped from overrides since commit 351443d7:
[ feature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides ]
Change to set EXTRA_OECONF_append by checking ARM_INSTRUCTION_SET 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 = " ${@['', '--disable-aso --enable-fpm=default'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () {
Signature · 1 line
1.9.1
Quoted 6 lines · Ming Liu
From: Peter Liu <[email protected]>
_thumbhad been dropped from overrides since commit351443d7:
[ feature-arm-thumb.inc: drop legacy_thumband _thumb-interwork over-rides ]Change to set
EXTRA_OECONF_appendby checkingARM_INSTRUCTION_SETinstead.
This also isn't right, ARM_INSTRUCTION_SET can be set to "thumb" even when MACHINE doesn't support it by having "thumb" in TUNE_FEATURES.
You'll need to replicate the conditionals which were used in the tune files or just revert that cleanup if you find "thumb" override still useful.
Quoted 28 lines
[YOCTO #9323]
Signed-off-by Peter 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
-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 = " ${@['', '--disable-aso --enable-fpm=default'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () {Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 20 lines · Peter Liu
________________________________________
From: Martin Jansa <[email protected]>
Sent: Wednesday, March 23, 2016 3:41 PM
To: Ming Liu
Cc: [email protected]; [email protected]; Peter Liu
Subject: Re: [OE-core] [PATCH v1] libmad: avoid using legacy_thumboverridesQuoted 9 lines · Ming Liu
Quoted 6 lines
From: Peter Liu <[email protected]>
_thumbhad been dropped from overrides since commit351443d7:
[ feature-arm-thumb.inc: drop legacy_thumband _thumb-interwork over-rides ]Change to set
EXTRA_OECONF_appendby checkingARM_INSTRUCTION_SETinstead.This also isn't right,
ARM_INSTRUCTION_SETcan be set to "thumb" even when MACHINE doesn't support it by having "thumb" inTUNE_FEATURES.
Quoted 8 lines
OK, thanks for the correction.
Quoted 4 lines
You'll need to replicate the conditionals which were used in the tune files or just revert that cleanup if you find "thumb" override still useful.
Yes, then maybe reverting that commit could be a better fix considering that there is not a easy way for end users to override the thumb related settings. I will send a V2 soon.
Andre already sent patch to remove this EXTRA_OECONF override completely.
If you think that it's still needed for whatever reason you should reply on his patch.
Quoted 35 lines
//Ming Liu
Quoted 24 lines
Quoted 24 lines
[YOCTO #9323]
Signed-off-by Peter 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 = " ${@['', '--disable-aso --enable-fpm=default'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () { --1.9.1
Quoted 5 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
Martin 'JaMa' Jansa jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]