diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-27 01:21:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-30 16:39:06 +0100 |
commit | 03a0f8e8b4e286bfcc0076e7380ce26d1b1b106a (patch) | |
tree | f383416280ef4318a79c017e10e07b239464fd52 | |
parent | 17daa2ba6280304771c5fe52b94eb56f0c087490 (diff) | |
download | poky-03a0f8e8b4e286bfcc0076e7380ce26d1b1b106a.tar.gz |
cross: Drop virtclass-cross OVERRIDE
This has been replaced by the class-cross override.
(From OE-Core rev: 7d6050c57f195589c8429397432c78f68298b672)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cross.bbclass | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 6c72b2ad73..b7d33f5e32 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -58,21 +58,6 @@ do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE | |||
58 | do_populate_sysroot[stamp-extra-info] = "" | 58 | do_populate_sysroot[stamp-extra-info] = "" |
59 | do_packagedata[stamp-extra-info] = "" | 59 | do_packagedata[stamp-extra-info] = "" |
60 | 60 | ||
61 | python cross_virtclass_handler () { | ||
62 | classextend = e.data.getVar('BBCLASSEXTEND', True) or "" | ||
63 | if "cross" not in classextend: | ||
64 | return | ||
65 | |||
66 | pn = e.data.getVar("PN", True) | ||
67 | if not pn.endswith("-cross"): | ||
68 | return | ||
69 | |||
70 | bb.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-cross", e.data) | ||
71 | } | ||
72 | |||
73 | addhandler cross_virtclass_handler | ||
74 | cross_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise" | ||
75 | |||
76 | do_install () { | 61 | do_install () { |
77 | oe_runmake 'DESTDIR=${D}' install | 62 | oe_runmake 'DESTDIR=${D}' install |
78 | } | 63 | } |