mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 23:09:39 +01:00
- Refresh patches - Enable GOCACHE required as of Go 1.12 (From OE-Core rev: f559fd6df2978f9093672794420eada2b7452987) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
393 B
BlitzBasic
15 lines
393 B
BlitzBasic
require go-${PV}.inc
|
|
require go-target.inc
|
|
|
|
export GOBUILDMODE=""
|
|
|
|
# Add pie to GOBUILDMODE to satisfy "textrel" QA checking, but mips
|
|
# doesn't support -buildmode=pie, so skip the QA checking for mips and its
|
|
# variants.
|
|
python() {
|
|
if 'mips' in d.getVar('TARGET_ARCH'):
|
|
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel")
|
|
else:
|
|
d.setVar('GOBUILDMODE', 'pie')
|
|
}
|