diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 2c54209f89..6d448b4c6d 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1052,7 +1052,7 @@ class BBCooker: parselog.error("invalid value for LAYERVERSION_%s: \"%s\"", c, layerver) errors = True continue - if lver <> depver: + if lver != depver: parselog.error("Layer '%s' depends on version %d of layer '%s', but version %d is enabled in your configuration", c, depver, dep, lver) errors = True else: