diff options
Diffstat (limited to 'meta/classes')
-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 | } |