aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-27 01:21:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-30 16:33:25 +0100
commit7d6050c57f195589c8429397432c78f68298b672 (patch)
tree2617164c811c261c1b1bbeca9d23e278157d6a56
parent1e1b42f687b5cd34623fe2682218958e1947eb92 (diff)
downloadopenembedded-core-contrib-7d6050c57f195589c8429397432c78f68298b672.tar.gz
openembedded-core-contrib-7d6050c57f195589c8429397432c78f68298b672.tar.bz2
openembedded-core-contrib-7d6050c57f195589c8429397432c78f68298b672.zip
cross: Drop virtclass-cross OVERRIDE
This has been replaced by the class-cross override. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cross.bbclass15
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
do_populate_sysroot[stamp-extra-info] = ""
do_packagedata[stamp-extra-info] = ""
-python cross_virtclass_handler () {
- classextend = e.data.getVar('BBCLASSEXTEND', True) or ""
- if "cross" not in classextend:
- return
-
- pn = e.data.getVar("PN", True)
- if not pn.endswith("-cross"):
- return
-
- bb.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-cross", e.data)
-}
-
-addhandler cross_virtclass_handler
-cross_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise"
-
do_install () {
oe_runmake 'DESTDIR=${D}' install
}