From 760e81678cec80dcdaab12c2a0a0148e3e0ba275 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Mar 2017 22:40:22 -0800 Subject: go: Add recipes for golang compilers and tools * This is converging the recipes for go from meta-virtualization and oe-meta-go * Add recipes for go 1.7 * go.bbclass is added to ease out writing recipes for go packages * go-examples: Add an example, helloworld written in go This should serve as temlate for writing go recipes * Disable for musl, at least for now * Disable for x32/ppc32 which is not supported (From OE-Core rev: 78615e9260fb5d6569de4883521b049717fa4340) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/go-examples/go-examples.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-extended/go-examples/go-examples.inc (limited to 'meta/recipes-extended/go-examples/go-examples.inc') diff --git a/meta/recipes-extended/go-examples/go-examples.inc b/meta/recipes-extended/go-examples/go-examples.inc new file mode 100644 index 0000000000..c63268116b --- /dev/null +++ b/meta/recipes-extended/go-examples/go-examples.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "This is a simple example recipe that cross-compiles a Go program." +SECTION = "examples" +HOMEPAGE = "https://golang.org/" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +S = "${WORKDIR}" + +inherit go -- cgit v1.2.3-54-g00ecf