summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/ChangeLog2
-rwxr-xr-xbitbake/bin/bitbake2
-rw-r--r--bitbake/lib/bb/cooker.py4
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py1
-rw-r--r--bitbake/lib/bb/utils.py1
5 files changed, 9 insertions, 1 deletions
diff --git a/bitbake/ChangeLog b/bitbake/ChangeLog
index c4aa5ba198..a2d0da29ea 100644
--- a/bitbake/ChangeLog
+++ b/bitbake/ChangeLog
@@ -52,6 +52,8 @@ Changes in BitBake 1.8.x:
52 - Raise an exception if SRCREV == 'INVALID' 52 - Raise an exception if SRCREV == 'INVALID'
53 - Fix hg fetcher username/password handling and fix crash 53 - Fix hg fetcher username/password handling and fix crash
54 - Fix PACKAGES_DYNAMIC handling of packages with '++' in the name 54 - Fix PACKAGES_DYNAMIC handling of packages with '++' in the name
55 - Rename __depends to __base_depends after configuration parsing so we don't
56 recheck the validity of the config files time after time
55 57
56Changes in BitBake 1.8.10: 58Changes in BitBake 1.8.10:
57 - Psyco is available only for x86 - do not use it on other architectures. 59 - Psyco is available only for x86 - do not use it on other architectures.
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 4492bf045b..e262d0b9b4 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -113,6 +113,8 @@ Default BBFILES are the .bb files in the current directory.""" )
113 113
114 cooker = bb.cooker.BBCooker(configuration) 114 cooker = bb.cooker.BBCooker(configuration)
115 115
116 cooker.parseConfiguration()
117
116 if configuration.profile: 118 if configuration.profile:
117 try: 119 try:
118 import cProfile as profile 120 import cProfile as profile
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 8e6acb19fc..50624d8d33 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -59,6 +59,10 @@ class BBCooker:
59 59
60 self.configuration.data = bb.data.init() 60 self.configuration.data = bb.data.init()
61 61
62 def parseConfiguration(self):
63
64 bb.data.inheritFromOS(self.configuration.data)
65
62 for f in self.configuration.file: 66 for f in self.configuration.file:
63 self.parseConfigurationFile( f ) 67 self.parseConfigurationFile( f )
64 68
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index e6488bbe11..f8a49689e2 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -118,7 +118,6 @@ def handle(fn, data, include = 0):
118 init(data) 118 init(data)
119 119
120 if include == 0: 120 if include == 0:
121 bb.data.inheritFromOS(data)
122 oldfile = None 121 oldfile = None
123 else: 122 else:
124 oldfile = bb.data.getVar('FILE', data) 123 oldfile = bb.data.getVar('FILE', data)
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 211ac8129f..9c8d8e8435 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -305,3 +305,4 @@ def prunedir(topdir):
305 for name in dirs: 305 for name in dirs:
306 os.rmdir(os.path.join(root, name)) 306 os.rmdir(os.path.join(root, name))
307 os.rmdir(topdir) 307 os.rmdir(topdir)
308