mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
multilib: Add support for cross-canadian multilib packages
Add support for the generation of cross-canadian packages.
Each cross-canadian package has:
PN = "pkg-cross-canadian-${TRANSLATED_TARGET_ARCH}"
in order for that to be evaluated properly with multilibs enabled, it was
necessary to detect both the presence of the cross-canadian packages and
then update the vars using the OVERRIDE for the multilib. Additional checks
were made to ensure that any dependency that sais "cross-canadian" did not
get prefixed with the MLPREFIX.
Also, make sure that even when building multilib cross-canadian packages,
we only use the single SDK PACKAGE_ARCH, we don't want or need variants.
(From OE-Core rev: 132a182e2f6c330aa645de42c1aeb386e43bddd3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
511f7f9d04
commit
ea22010560
@@ -50,7 +50,7 @@ class ClassExtender(object):
|
||||
return newdata
|
||||
|
||||
def map_depends(self, dep):
|
||||
if dep.endswith(("-native", "-native-runtime")):
|
||||
if dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('cross-canadian' in dep):
|
||||
return dep
|
||||
else:
|
||||
return self.extend_name(dep)
|
||||
@@ -93,7 +93,7 @@ class ClassExtender(object):
|
||||
|
||||
class NativesdkClassExtender(ClassExtender):
|
||||
def map_depends(self, dep):
|
||||
if dep.endswith(("-native", "-native-runtime", "-cross")):
|
||||
if dep.endswith(("-native", "-native-runtime", "-cross")) or ('nativesdk-' in dep):
|
||||
return dep
|
||||
elif dep.endswith(("-gcc-intermediate", "-gcc-initial", "-gcc", "-g++")):
|
||||
return dep + "-crosssdk"
|
||||
|
||||
Reference in New Issue
Block a user