Hi Richard,

Thanks, that seems like pretty much what I need!
However, currently the recipes in the dependency chain don't all contain
'native' counterparts.
Most actually wouldn't really need to for the executable to be built.
Is there a way to neatly work around this too?

Kind regards,

Maik Vermeulen

Embedded Software Engineer — Lightyear <https://www.lightyear.one/>
+31 6 16 82 73 79 <+31616827379>


On Wed, Aug 24, 2022 at 3:01 PM Richard Purdie <
[email protected]> wrote:

> On Wed, 2022-08-24 at 14:18 +0200, Maik Vermeulen wrote:
> > Hi,
> >
> > We have a recipe with a CMake project which works fine on target, but
> > ideally we would like to test functionality on our host systems
> > first.
> > How can we also have it generate executables for the host system?
> >
> > Do we need to make changes to the recipe, CMakeLists.txt, or both?
> > I read something about autotools, but it's completely new to me.
> >
> > Any hints on what the easiest approach would be would be greatly
> > appreciated!
>
> BBCLASSEXTEND = "native"
>
> would create a variant of the recipe X as X-native which would run on
> the build host. That may or may not be what you're looking for :)
>
> Cheers,
>
> Richard
>
>
>

-- 
 
<https://lightyear.one/careers?utm_source=signature&utm_campaign=spotlightroles&utm_medium=email#vacancies>

-- 


Automotive Campus 70 —5708 JZ Helmond, the Netherlands
www.lightyear.one 
<https://lightyear.one/>
 <https://www.linkedin.com/company/lightyear.one/>

This email may contain information which is privileged and/or 
confidential. If you received this e-mail in error, please notify us 
immediately by e-mail and delete the email without copying or disclosing 
its contents to any other person. Lightyear is a trade name of Atlas 
Technologies B.V. and is registered at the Dutch Chamber of Commerce under 
number 67264298. 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57893): https://lists.yoctoproject.org/g/yocto/message/57893
Mute This Topic: https://lists.yoctoproject.org/mt/93225156/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to