summaryrefslogtreecommitdiffstats
path: root/bin/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-xbin/bitbake4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 3e1ca6286c..88ac8c34ca 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -35,7 +35,11 @@ except RuntimeError as exc:
from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
+__version__ = "1.27.0"
+
if __name__ == "__main__":
+ if __version__ != bb.__version__:
+ sys.exit("Bitbake core version and program version mismatch!")
try:
ret = bitbake_main(BitBakeConfigParameters(sys.argv),
cookerdata.CookerConfiguration())