mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 09:16:36 +01:00
The SPDX library code was being ignored from taskhash calculations due to accidentally being omitted from BBIMPORTS. This meant that changes in the code or dependent variables would not cause the task to rebuild correctly. In order to add spdx_common, convert the `Dep` object from a named tuple to a frozen dataclass. These function more or less equivalently, but the bitbake code parser cannot handle named tuples. Finally, the vardepsexclude that used to be present on the recipe tasks needs to be moved to the python code in order for the variables to be correctly ignored. Several unused exclusions were removed (From OE-Core rev: eb597bf61cbcb0a4d43149404c93eec0894fb4c7) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
520 B
Python
15 lines
520 B
Python
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
|
|
from pkgutil import extend_path
|
|
__path__ = extend_path(__path__, __name__)
|
|
|
|
# Modules with vistorcode need to go first else anything depending on them won't be
|
|
# processed correctly (e.g. qa)
|
|
BBIMPORTS = ["qa", "data", "path", "utils", "types", "package", "packagedata", \
|
|
"packagegroup", "sstatesig", "lsb", "cachedpath", "license", \
|
|
"reproducible", "rust", "buildcfg", "go", "spdx30_tasks", "spdx_common"]
|