  src/cmd/go/internal/cfg/cfg.go    | 7 ++++++-
  src/cmd/go/internal/work/build.go | 2 +-
  src/go/build/build.go             | 2 +-
- 3 files changed, 8 insertions(+), 3 deletions(-)
+ src/make.bash                     | 3 ++-
+ 4 files changed, 10 insertions(+), 4 deletions(-)
 
 diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go
 index b3ad1ce..c1dc974 100644

 
 // IsLocalImport reports whether the import path is
 // a local import path, like ".", "..", "./foo", or "../foo".
-- 
2.7.4


From f26c40439c27d4c511463264c2c78385ea39311c Mon Sep 17 00:00:00 2001
From: Matt Madison <matt@madison.systems>
Date: Sun, 15 Jan 2017 05:20:28 -0800
Subject: [PATCH 3/5] Allow GOTOOLDIR to be overridden in the environment

For OE cross-builds, tools are in the build host's GOROOT, not
the target GOROOT.  Allow GOTOOLDIR to be taken from the environment,
