summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-28 15:15:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-29 10:59:53 +0100
commit37e46e49ddf71ebf588f565f041aaec13a802dfa (patch)
tree915686b04ab7a6927f40e9ff39172c50b40cf9b0 /bitbake/lib
parent47e2dbd89a92faca3e188d509c5629c59feca770 (diff)
downloadpoky-37e46e49ddf71ebf588f565f041aaec13a802dfa.tar.gz
bitbake: bitbake: Check if bitbake versions match
Bitbake program and core versions must match. Moved __version__ from main.py back to bin/bitbake. Implemented check for version match in bin/bitbake. (Bitbake rev: 2fe7d8c574ddf6a30278cff1a5a5c4089dc56d6d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> tbs Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index 2019d5014b..49dc8d5b59 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -36,7 +36,6 @@ from bb import ui
36from bb import server 36from bb import server
37from bb import cookerdata 37from bb import cookerdata
38 38
39__version__ = "1.27.0"
40logger = logging.getLogger("BitBake") 39logger = logging.getLogger("BitBake")
41 40
42class BBMainException(Exception): 41class BBMainException(Exception):
@@ -83,7 +82,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
83 82
84 def parseCommandLine(self, argv=sys.argv): 83 def parseCommandLine(self, argv=sys.argv):
85 parser = optparse.OptionParser( 84 parser = optparse.OptionParser(
86 version = "BitBake Build Tool Core version %s, %%prog version %s" % (bb.__version__, __version__), 85 version = "BitBake Build Tool Core version %s" % bb.__version__,
87 usage = """%prog [options] [recipename/target ...] 86 usage = """%prog [options] [recipename/target ...]
88 87
89 Executes the specified task (default is 'build') for a given set of target recipes (.bb files). 88 Executes the specified task (default is 'build') for a given set of target recipes (.bb files).