On 5 Jun 2024, at 08:26, Jonas Gorski via lists.openembedded.org 
<[email protected]> wrote:
> -        dynamic_loader = "${base_libdir}/ld-linux${@['-armhf', 
> ''][d.getVar('TARGET_FPU') == 'soft']}.so.3"
> +        dynamic_loader = "${base_libdir}/ld-linux${@['', 
> '-armhf'][d.getVar('TARGET_FPU') == 'hard']}.so.3"

If we’re changing this line, can we stop using the obscure “implicitly treat a 
boolean as an index” idiom and just use a standard Python ternary expression?

Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200393): 
https://lists.openembedded.org/g/openembedded-core/message/200393
Mute This Topic: https://lists.openembedded.org/mt/106500218/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to