wpa-supplicant: Enable native builds
PATCH 1/1 wpa-supplicant: Enable native builds
Native builds for wpa-supplicant can be enabled
without any further modifications.
--- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +2 -0
@@ -135,3 +135,5 @@ python split_wpa_supplicant_libs () { d.appendVar('RRECOMMENDS:' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages)) } PACKAGESPLITFUNCS:prepend = "split_wpa_supplicant_libs " + +BBCLASSEXTEND = "native"
Signature · 1 line
2.30.2
They can, but you should describe possible use cases too.
Alex
Quoted 31 lines · Miroslav Mareš
Native builds for wpa-supplicant can be enabled
without any further modifications.Signed-off-by Miroslav Mareš <[email protected]>--- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +2
-1@@ -135,3 +135,5 @@ python split_wpa_supplicant_libs () { d.appendVar('RRECOMMENDS:' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages)) } PACKAGESPLITFUNCS:prepend = "split_wpa_supplicant_libs " + +BBCLASSEXTEND = "native" --2.30.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175378): https://lists.openembedded.org/g/openembedded-core/message/175378
Mute This Topic: https://lists.openembedded.org/mt/96047102/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi,
Quoted 2 lines · Miroslav Mareš
Native builds for wpa-supplicant can be enabled
without any further modifications.
Why would this be needed? The reason should be in the commit message.
It is likely better to remove wpa-supplicant from the dependency which needs it on -native.
Cheers,
-Mikko
Quoted 28 lines
Signed-off-by Miroslav Mareš <[email protected]>--- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +2
-0@@ -135,3 +135,5 @@ python split_wpa_supplicant_libs () { d.appendVar('RRECOMMENDS:' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages)) } PACKAGESPLITFUNCS:prepend = "split_wpa_supplicant_libs " + +BBCLASSEXTEND = "native"Signature · 11 lines
2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175378): https://lists.openembedded.org/g/openembedded-core/message/175378 Mute This Topic: https://lists.openembedded.org/mt/96047102/7159507 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
We are using native builds to run some tests on the software we develop in Yocto and some of this software uses wpa-supplicant library.
Is this an acceptable use case?
You can easily enable native supplicant via a .bbappend in your own layer.
Native builds are not meant for running tests on the software that goes into a product, they're meant only for building tools that are needed for target builds.
Can we see the tests?
Alex
Quoted 13 lines · Miroslav Mareš
We are using native builds to run some tests on the software we develop in Yocto and some of this software uses wpa-supplicant library.
Is this an acceptable use case?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175381): https://lists.openembedded.org/g/openembedded-core/message/175381
Mute This Topic: https://lists.openembedded.org/mt/96047102/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Thank you for the information, in this case we should resort to using the bbappend,
because we don't have any use case of wpa-supplicant as a tool needed for target builds.
________________________________
Od: Alexander Kanavin <[email protected]>
Odesláno: středa 4. ledna 2023 11:15:37
Komu: Miroslav Mareš - 2N
Kopie: [email protected]
Předmět: Re: [OE-core] [PATCH] wpa-supplicant: Enable native builds
You can easily enable native supplicant via a .bbappend in your own layer.
Native builds are not meant for running tests on the software that goes into a product, they're meant only for building tools that are needed for target builds.
Can we see the tests?
Alex
Quoted 13 lines · Miroslav Mareš
We are using native builds to run some tests on the software we develop in Yocto and some of this software uses wpa-supplicant library.
Is this an acceptable use case?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175381): https://lists.openembedded.org/g/openembedded-core/message/175381
Mute This Topic: https://lists.openembedded.org/mt/96047102/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-