diff options
author | Christopher Larson <kergoth@gmail.com> | 2015-03-16 11:55:33 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-03-17 09:42:00 -0400 |
commit | 8a0ecb59fa9e23f690a8aecea8e1812d79f752e7 (patch) | |
tree | 9e9a39223ad0a8e868757c8f930a88a2398263ac /recipes-devtools/python/python-backports-lzma/fix_paths.patch | |
parent | e1b0876fa9e70739844073af4d5a85de403c6e78 (diff) | |
download | meta-virtualization-8a0ecb59fa9e23f690a8aecea8e1812d79f752e7.tar.gz |
xen: avoid parse time errors for non-xen-archs
XEN_TARGET_ARCH, when expanded, would emit a bb.error(). Referencing
XEN_TARGET_ARCH in PACKAGECONFIG resulted in its expansion at the up front
parse time, rather than at compile time, so non-xen-supported-archs like
powerpc would see parse time errors, resulting in non-zero bitbake exit codes.
Naturally this isn't ideal, so instead have the mapping function return
'INVALID' in the unsupported case, and in anonymous python, raise SkipPackage
if the mapped architecture is invalid, so it's seen as unbuildable in that
case.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/python/python-backports-lzma/fix_paths.patch')
0 files changed, 0 insertions, 0 deletions