diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 56fe5f2122..fe803f1836 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -210,7 +210,8 @@ addhandler base_eventhandler | |||
210 | base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted bb.event.RecipePreFinalise" | 210 | base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted bb.event.RecipePreFinalise" |
211 | python base_eventhandler() { | 211 | python base_eventhandler() { |
212 | if isinstance(e, bb.event.ConfigParsed): | 212 | if isinstance(e, bb.event.ConfigParsed): |
213 | e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data)) | 213 | if not e.data.getVar("NATIVELSBSTRING", False): |
214 | e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data)) | ||
214 | e.data.setVar('BB_VERSION', bb.__version__) | 215 | e.data.setVar('BB_VERSION', bb.__version__) |
215 | pkgarch_mapping(e.data) | 216 | pkgarch_mapping(e.data) |
216 | oe.utils.features_backfill("DISTRO_FEATURES", e.data) | 217 | oe.utils.features_backfill("DISTRO_FEATURES", e.data) |