mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
1.15 is latest major release changelog is [1] and detailed blog is [2] Drop hardcoding ldso patch in favor of setting it using GO_LDSO variable which can be defined in terms of linuxloader defined by OE Setting GOBUILDMODE to pie is no longer needed [1] https://golang.org/doc/go1.15 [2] https://blog.golang.org/go1.15 (From OE-Core rev: aa1bfaff4adc9246a2d65592b3a8061d55829086) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
440 B
BlitzBasic
16 lines
440 B
BlitzBasic
require go-${PV}.inc
|
|
require go-target.inc
|
|
|
|
inherit linuxloader
|
|
|
|
export GOBUILDMODE=""
|
|
export CGO_ENABLED_riscv64 = ""
|
|
export GO_LDSO = "${@get_linuxloader(d)}"
|
|
|
|
# mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv and its
|
|
# variants.
|
|
python() {
|
|
if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True):
|
|
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel")
|
|
}
|