Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes-devtools/go/go-cross_1.10.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
require go-cross.inc
require go_${PV}.inc

# Go binaries are not understood by the strip tool.
INHIBIT_SYSROOT_STRIP = "1"

do_compile() {
go_compile
}

do_install() {
go_install
}

## TODO: implement do_clean() and ensure we actually do rebuild super cleanly
11 changes: 11 additions & 0 deletions recipes-devtools/go/go_1.10.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require go.inc

DEPENDS = "go-bootstrap-native"

SSTATE_SCAN_CMD = "true"

SRC_URI = "${SRC_URI_PREFIX}/go${PV}.src.tar.gz;subdir=go-${PV}"
SRC_URI[md5sum] = "07cbb9d0091b846c6aea40bf5bc0cea7"
SRC_URI[sha256sum] = "f3de49289405fda5fd1483a8fe6bd2fa5469e005fd567df64485c4fa000c7f24"

LIC_FILES_CHKSUM = "file://${WORKDIR}/go-${PV}/go/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"