diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-09 13:29:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-11 12:26:36 +0100 |
commit | 91edf4cac223298e50a4b8e59dd19f1b272e3418 (patch) | |
tree | a2b024fddbba7d564628719ef85d0f784ac8109a /meta/classes/native.bbclass | |
parent | b9a44cec782e833d4f29f6ceb64908552d5cdd7b (diff) | |
download | openembedded-core-91edf4cac223298e50a4b8e59dd19f1b272e3418.tar.gz openembedded-core-91edf4cac223298e50a4b8e59dd19f1b272e3418.tar.bz2 openembedded-core-91edf4cac223298e50a4b8e59dd19f1b272e3418.zip |
classes/lib/oe: Fix cross/crosssdk references
With the renaming of the cross packages, its no longer possible to use
endswith("-cross") and similar to detect cross packages. Replace these
references with other techniques.
This resolves certain build from sstate failures which were due to the
system believing cross packages were target packages and therefore
dependency handling was altered.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 2d182f0ebc..31f1c41ac6 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -125,7 +125,7 @@ python native_virtclass_handler () { deps = bb.utils.explode_deps(deps) newdeps = [] for dep in deps: - if dep.endswith("-cross"): + if "-cross-" in dep: newdeps.append(dep.replace("-cross", "-native")) elif not dep.endswith("-native"): newdeps.append(dep + "-native") |