summaryrefslogtreecommitdiffstats
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:39:06 +0100
commit03a0f8e8b4e286bfcc0076e7380ce26d1b1b106a (patch)
treef383416280ef4318a79c017e10e07b239464fd52
parent17daa2ba6280304771c5fe52b94eb56f0c087490 (diff)
downloadpoky-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.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
58do_populate_sysroot[stamp-extra-info] = "" 58do_populate_sysroot[stamp-extra-info] = ""
59do_packagedata[stamp-extra-info] = "" 59do_packagedata[stamp-extra-info] = ""
60 60
61python 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
73addhandler cross_virtclass_handler
74cross_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise"
75
76do_install () { 61do_install () {
77 oe_runmake 'DESTDIR=${D}' install 62 oe_runmake 'DESTDIR=${D}' install
78} 63}