mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
760e81678c
* 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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 lines
188 B
BlitzBasic
14 lines
188 B
BlitzBasic
require go-examples.inc
|
|
|
|
SRC_URI += " \
|
|
file://helloworld.go \
|
|
"
|
|
|
|
do_compile() {
|
|
go build helloworld.go
|
|
}
|
|
|
|
do_install() {
|
|
install -D -m 0755 ${S}/helloworld ${D}${bindir}/helloworld
|
|
}
|