Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] wpa-supplicant: Enable native builds
@ 2023-01-04  9:21 Miroslav Mareš
  2023-01-04  9:23 ` [OE-core] " Alexander Kanavin
  2023-01-04  9:24 ` Mikko Rapeli
  0 siblings, 2 replies; 6+ messages in thread
From: Miroslav Mareš @ 2023-01-04  9:21 UTC (permalink / raw)
  To: openembedded-core; +Cc: Miroslav Mareš

Native builds for wpa-supplicant can be enabled
without any further modifications.

Signed-off-by: Miroslav Mareš <mares@2n.com>
---
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
index 4e27b92bc6..ec20b8b32f 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
@@ -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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH] wpa-supplicant: Enable native builds
  2023-01-04  9:21 [PATCH] wpa-supplicant: Enable native builds Miroslav Mareš
@ 2023-01-04  9:23 ` Alexander Kanavin
  2023-01-04  9:24 ` Mikko Rapeli
  1 sibling, 0 replies; 6+ messages in thread
From: Alexander Kanavin @ 2023-01-04  9:23 UTC (permalink / raw)
  To: Miroslav Mareš; +Cc: openembedded-core

They can, but you should describe possible use cases too.

Alex

On Wed, 4 Jan 2023 at 10:22, Miroslav Mareš <mares@2n.com> wrote:
>
> Native builds for wpa-supplicant can be enabled
> without any further modifications.
>
> Signed-off-by: Miroslav Mareš <mares@2n.com>
> ---
>  meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
> index 4e27b92bc6..ec20b8b32f 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
> @@ -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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH] wpa-supplicant: Enable native builds
  2023-01-04  9:21 [PATCH] wpa-supplicant: Enable native builds Miroslav Mareš
  2023-01-04  9:23 ` [OE-core] " Alexander Kanavin
@ 2023-01-04  9:24 ` Mikko Rapeli
  2023-01-04  9:53   ` Miroslav Mareš
  1 sibling, 1 reply; 6+ messages in thread
From: Mikko Rapeli @ 2023-01-04  9:24 UTC (permalink / raw)
  To: Miroslav Mareš; +Cc: openembedded-core

Hi,

On Wed, Jan 04, 2023 at 10:21:39AM +0100, Miroslav Mareš wrote:
> 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

> Signed-off-by: Miroslav Mareš <mares@2n.com>
> ---
>  meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
> index 4e27b92bc6..ec20b8b32f 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
> @@ -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/7159507
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mikko.rapeli@linaro.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] wpa-supplicant: Enable native builds
  2023-01-04  9:24 ` Mikko Rapeli
@ 2023-01-04  9:53   ` Miroslav Mareš
  2023-01-04 10:15     ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Miroslav Mareš @ 2023-01-04  9:53 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH] wpa-supplicant: Enable native builds
  2023-01-04  9:53   ` Miroslav Mareš
@ 2023-01-04 10:15     ` Alexander Kanavin
  2023-01-04 10:45       ` Miroslav Mareš - 2N
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2023-01-04 10:15 UTC (permalink / raw)
  To: Miroslav Mareš; +Cc: openembedded-core

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

On Wed, 4 Jan 2023 at 10:53, Miroslav Mareš <mares@2n.com> wrote:
>
> 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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH] wpa-supplicant: Enable native builds
  2023-01-04 10:15     ` [OE-core] " Alexander Kanavin
@ 2023-01-04 10:45       ` Miroslav Mareš - 2N
  0 siblings, 0 replies; 6+ messages in thread
From: Miroslav Mareš - 2N @ 2023-01-04 10:45 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

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 <alex.kanavin@gmail.com>
Odesláno: středa 4. ledna 2023 11:15:37
Komu: Miroslav Mareš - 2N
Kopie: openembedded-core@lists.openembedded.org
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

On Wed, 4 Jan 2023 at 10:53, Miroslav Mareš <mares@2n.com> wrote:
>
> 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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

[-- Attachment #2: Type: text/html, Size: 2729 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-04 10:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04  9:21 [PATCH] wpa-supplicant: Enable native builds Miroslav Mareš
2023-01-04  9:23 ` [OE-core] " Alexander Kanavin
2023-01-04  9:24 ` Mikko Rapeli
2023-01-04  9:53   ` Miroslav Mareš
2023-01-04 10:15     ` [OE-core] " Alexander Kanavin
2023-01-04 10:45       ` Miroslav Mareš - 2N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox