These patches add support for the golang tools in the build system.
The behavior of configure with respect to the make variable,
CONFIG_GOLANG is copied from other components, such as the Ocaml
tools. Namely, build the tools by default if the go compiler is found.
Changes in v2:
- Change make variable to CONFIG_GOLANG, and use `golang` rather
than golang_tools to avoid mixing underscores and hyphens in
configure flags.
Nick Rosbrook (2):
tools: build golang tools if go compiler is present
golang/xenlight: stop tracking generated files
.gitignore | 3 +
.hgignore | 2 +
config/Tools.mk.in | 1 +
m4/golang.m4 | 4 +
tools/Rules.mk | 2 -
tools/configure | 138 +
tools/configure.ac | 12 +
tools/golang/xenlight/Makefile | 1 +
tools/golang/xenlight/helpers.gen.go | 4722 --------------------------
tools/golang/xenlight/types.gen.go | 1225 -------
10 files changed, 161 insertions(+), 5949 deletions(-)
create mode 100644 m4/golang.m4
delete mode 100644 tools/golang/xenlight/helpers.gen.go
delete mode 100644 tools/golang/xenlight/types.gen.go
--
2.17.1