diff options
-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 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 } |