1 ifeq ($(ADK_TARGET_ARCH_ARM
),y
)
4 ifeq ($(ADK_TARGET_ARCH_ARM
),y
)
7 ifeq ($(ADK_TARGET_ARCH_MIPS
),y
)
10 ifeq ($(ADK_TARGET_ARCH_MIPS64
),y
)
13 ifeq ($(ADK_TARGET_ARCH_PPC64
),y
)
16 ifeq ($(ADK_TARGET_ARCH_X86
),y
)
19 ifeq ($(ADK_TARGET_ARCH_X86_64
),y
)
22 ADK_GO_ROOT
:= $(STAGING_HOST_DIR
)/usr
/lib
/go
23 ADK_GO_PATH
:= $(STAGING_HOST_DIR
)/usr
/lib
/gopath
24 ADK_GO_BINPATH
:= $(ADK_GO_PATH
)/bin
/linux_
$(ADK_GO_ARCH
)
25 ADK_GO_TOOLDIR
:= $(ADK_GO_ROOT
)/pkg
/tool
/linux_
$(ADK_GO_ARCH
)
26 ADK_GO
:= $(ADK_GO_ROOT
)/bin
/go
27 ADK_GO_TARGET_ENV
:= CGO_ENABLED
=1 \
28 GOARCH
=$(ADK_GO_ARCH
) \
29 GOROOT
="$(ADK_GO_ROOT)" \
30 GOPATH
="$(ADK_GO_PATH)" \
33 GOTOOLDIR
="$(ADK_GO_TOOLDIR)"