pre-built native only tool for native and nativesdk
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.
Quoted 30 lines · Joel Winarske via lists.yoctoproject.org
I'm trying to sort out how to install a pre-built host-only tool for native and nativesdk only.
Using
inherit nativemy-recipe-native and nativesdk-my-recipe both build fine, only -cpopulate_sdkgenerates "rdepends upon non-existent taskdo_package_write_rpm". Looking at native.bbclass it includesinherit nopackagewhich explains the error.If I remove the
inherit nativeand update my recipe name to not include-nativeI 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 (#55293):
https://lists.yoctoproject.org/g/yocto/message/55293
Mute This Topic: https://lists.yoctoproject.org/mt/86943509/2167248
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Actually by removing inherit native and adding -native to the recipe name doesn't make it build for native.
Quoted 37 lines · Joel Winarske
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.
Quoted 30 lines · Joel Winarske via lists.yoctoproject.org
I'm trying to sort out how to install a pre-built host-only tool for native and nativesdk only.
Using
inherit nativemy-recipe-native and nativesdk-my-recipe both build fine, only -cpopulate_sdkgenerates "rdepends upon non-existent taskdo_package_write_rpm". Looking at native.bbclass it includesinherit nopackagewhich explains the error.If I remove the
inherit nativeand update my recipe name to not include-nativeI 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 (#55293):
https://lists.yoctoproject.org/g/yocto/message/55293
Mute This Topic: https://lists.yoctoproject.org/mt/86943509/2167248
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
My solution was to use recipe name without -native, and simply use empty packages (no-op) for target. Only nativesdk- and -native variants have an affect. Then add TOOLCHAIN_HOST_TASK:append = " nativesdk-flutter-sdk" to local.conf.
Quoted 43 lines · Joel Winarske
Actually by removing
inherit nativeand adding -native to the recipe name doesn't make it build for native.Quoted 37 lines · Joel Winarske
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.
Quoted 30 lines · Joel Winarske via lists.yoctoproject.org
I'm trying to sort out how to install a pre-built host-only tool for native and nativesdk only.
Using
inherit nativemy-recipe-native and nativesdk-my-recipe both build fine, only -cpopulate_sdkgenerates "rdepends upon non-existent taskdo_package_write_rpm". Looking at native.bbclass it includesinherit nopackagewhich explains the error.If I remove the
inherit nativeand update my recipe name to not include-nativeI 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 (#55293):
https://lists.yoctoproject.org/g/yocto/message/55293
Mute This Topic: https://lists.yoctoproject.org/mt/86943509/2167248
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-