SDK_VENDOR shouldn't have any extra hyphens in because it is used to form a dash-separated triple and if there's more hyphens then things break. For example with SDK_VENDOR="-myd-sdk": Checking target system type... Invalid configuration `x86_64-myd-sdk-linux': machine `x86_64-myd-sdk' not recognized Changing the SDK_VENDOR to "-myd_sdk" fixed the build. We should check for this at SDK construction time, so that the user can't build a broken SDK.
I thought of putting a check inside sdk_variables() inside populate_sdk_base class but it has limitations: - works only for the first time but not for successive invoke - only works for populate_sdk but misses meta-toolchain Can I get some more insight/ideas on this? thanks
A better place to do that logic would be sanity.bbclass, this is where all of the pre-build sanity checks are implemented.
Hi Ross, This seems to be fixed now by your commit https://github.com/openembedded/openembedded-core/commit/b0efd8d4d0dbc30e6505b42f5603f18fa764d732 This bug can be closed
Huh. I had totally forgotten I wrote that. Sorry for not closing this earlier.