mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
insane.bbclass: Python code cleanup in check_32bit_symbols
(From OE-Core rev: 67b06035326048323f972107f66eb50cf74def0b) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ad3eb83b56
commit
fc2d534e38
@@ -514,9 +514,9 @@ def check_32bit_symbols(path, packagename, d, elf, messages):
|
|||||||
"""
|
"""
|
||||||
Check that ELF files do not use any 32 bit time APIs from glibc.
|
Check that ELF files do not use any 32 bit time APIs from glibc.
|
||||||
"""
|
"""
|
||||||
thirtytwo_bit_time_archs = set(('arm','armeb','mipsarcho32','powerpc','x86'))
|
thirtytwo_bit_time_archs = {'arm','armeb','mipsarcho32','powerpc','x86'}
|
||||||
overrides = set(d.getVar('OVERRIDES').split(':'))
|
overrides = set(d.getVar('OVERRIDES').split(':'))
|
||||||
if not(thirtytwo_bit_time_archs & overrides):
|
if not (thirtytwo_bit_time_archs & overrides):
|
||||||
return
|
return
|
||||||
|
|
||||||
import re
|
import re
|
||||||
@@ -1571,7 +1571,7 @@ do_unpack[postfuncs] += "do_qa_unpack"
|
|||||||
|
|
||||||
python () {
|
python () {
|
||||||
import re
|
import re
|
||||||
|
|
||||||
tests = d.getVar('ALL_QA').split()
|
tests = d.getVar('ALL_QA').split()
|
||||||
if "desktop" in tests:
|
if "desktop" in tests:
|
||||||
d.appendVar("PACKAGE_DEPENDS", " desktop-file-utils-native")
|
d.appendVar("PACKAGE_DEPENDS", " desktop-file-utils-native")
|
||||||
|
|||||||
Reference in New Issue
Block a user