Backport go-cross: fix the building failed for quark bsp
Backport go-cross: fix the building failed for quark bsp

submitted to upstream https://github.com/errordeveloper/oe-meta-go

    go-cross: fix the building failed for quark bsp

    Quark used i586 architecture, and golang dealt intel 32bit
    architecture as 386, so export GOARCH = "386" when the TARGET_ARCH
    is i586 to support quark bsp.

    Signed-off-by: fupan li <fupan.li@windriver.com>

Signed-off-by: Amy Fong <f2f9a81096c94dfd31f721467b25bd6df1dede23@windriver.com>
Signed-off-by: Bruce Ashfield <284cc737d174a260eec2a2a6324a304f84b1ae0f@windriver.com>

cjp256/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,cjp256/meta-virtualization,lgirdk/meta-virtualization,cardoe/meta-virtualization,cjp256/meta-virtualization,lgirdk/meta-virtualization,cardoe/meta-virtualization,lgirdk/meta-virtualization,cardoe/meta-virtualization