To eliminate target option from the recipe I just need to make sure the
name of the recipe ends with -native, then removing inherit native works
fine.

On Tue, Nov 9, 2021 at 2:09 PM Joel Winarske via lists.yoctoproject.org
<[email protected]> wrote:

> I'm trying to sort out how to install a pre-built host-only tool for
> native and nativesdk only.
>
> Using `inherit native` my-recipe-native and nativesdk-my-recipe both build
> fine, only -c populate_sdk generates "rdepends upon non-existent task
> do_package_write_rpm".  Looking at native.bbclass it includes `inherit
> nopackage` which explains the error.
>
> If I remove the `inherit native` and update my recipe name to not include
> `-native` I can build the -native version, only I can't build
> nativesdk-*-native.  A target build is invalid.
>
> What is the recommended pattern to do this, and is there an example of
> this anywhere?
>
>
> Thanks,
> Joel
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55295): https://lists.yoctoproject.org/g/yocto/message/55295
Mute This Topic: https://lists.yoctoproject.org/mt/86943509/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to