mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 03:19:41 +01:00
Rebase patches. (From OE-Core rev: 85064fd76c9f19b522f540f26e0fc68bfb0d7f43) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
488 B
BlitzBasic
19 lines
488 B
BlitzBasic
require go-${PV}.inc
|
|
require go-target.inc
|
|
|
|
inherit linuxloader
|
|
|
|
CGO_LDFLAGS:append:mips = " -no-pie"
|
|
|
|
export GO_LDSO = "${@get_linuxloader(d)}"
|
|
export CC_FOR_TARGET = "gcc"
|
|
export CXX_FOR_TARGET = "g++"
|
|
|
|
# mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv32 and its
|
|
# variants.
|
|
python() {
|
|
if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv32' in d.getVar('TARGET_ARCH',True):
|
|
d.appendVar('INSANE_SKIP:%s' % d.getVar('PN',True), " textrel")
|
|
}
|
|
|