mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
goarch: map target os to windows for mingw* TARGET_OS
mingw32/mingw64 is not a supported value for GOOS, so map from 'mingw*' to 'windows' to enable building for windows targets. (From OE-Core rev: 099bd78ce80772c42887104a40aa0a92fdaa6965) Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8f7d34d135
commit
1c0af77e5f
@@ -114,6 +114,8 @@ def go_map_mips(a, f, d):
|
||||
def go_map_os(o, d):
|
||||
if o.startswith('linux'):
|
||||
return 'linux'
|
||||
elif o.startswith('mingw'):
|
||||
return 'windows'
|
||||
return o
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user