summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cross.bbclass')
-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}