Skip to content
Commit d9306e8f authored by Anatol Belski's avatar Anatol Belski Committed by Richard Purdie
Browse files

cross-canadian: Whitelist "mingw32" as TARGET_OS



If a recipe inherits cross-canadian and contains "nativesdk" in
BBCLASSEXTEND and meta-mingw is included and multiconfig is enabled,
bitbake will generate the correspending recipe. As meta-mingw sets
SDK_OS to "mingw32", that's what TARGET_OS will be set to as well.
Thus, currently such a recipe won't pass the check and fail with
a message:

Building cross-candian for an unknown TARGET_SYS
(x86_64-mysdk-mingw32), please update cross-canadian.bbclass

Even when building an SDK targeting Linux, but the mentioned conditions
are met, bitbake will try to generate the corresponding recipe and fail.

As the described combination seems valid, including "mingw32" into the
whitelist unconditionally as a fix is suggested.

Signed-off-by: default avatarAnatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent f1e7da77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment