mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
(From OE-Core rev: c1cd99c0b617717bd642ef5065c4f70ee0dfafae) Signed-off-by: Alex Kube <alexander.j.kube@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
403 B
BlitzBasic
15 lines
403 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',True):
|
|
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel")
|
|
else:
|
|
d.setVar('GOBUILDMODE', 'pie')
|
|
}
|