[oe] [Bitbake-dev] Override problems in bitbake trunk/1,8

Richard Purdie rpurdie at rpsys.net
Sun Aug 12 23:04:49 UTC 2007


On Sun, 2007-08-12 at 22:50 +0100, Richard Purdie wrote:
> This is an expansion of the issue reported in
> http://bugs.openembedded.org/show_bug.cgi?id=2601
> 
[...]
> You get the expected:
> 
> GRREC="foo1 foo2 foo3"
> 
> but the ${PN} breaks things somewhere and gives:
> 
> FRREC_gtk+="foo1"
> 
> I suspect something is wrong in the overrides handling, maybe to do with
> expandKeys. Does anyone have any ideas?

I think this might be the fix:


Index: bb/data.py
===================================================================
--- bb/data.py	(revision 880)
+++ bb/data.py	(working copy)
@@ -288,6 +288,10 @@
             src = getVarFlag(key, i, readdata) or []
             dest.extend(src)
             setVarFlag(ekey, i, dest, alterdata)
+            
+            if key in alterdata._special_values[i]:
+                alterdata._special_values[i].remove(key)
+                alterdata._special_values[i].add(ekey)
 
         delVar(key, alterdata)
 





More information about the Openembedded-devel mailing list