]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "utils.bbclass: Fix override ordering for FILESPATH"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Dec 2013 12:55:47 +0000 (12:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Dec 2013 12:55:47 +0000 (12:55 +0000)
This reverts commit 0bd63125c3b44a656e44f2a76cc5f832c9db4bbd.

As discussed on the mailing list, this change changes layer layout
in a stable branch which is unaccetable. The was accidentally
backported and should not have been, this reverts it.

meta/classes/utils.bbclass

index 0a533afb1f657916d0ede8f12d7e97e88f47c0b8..d1f6563a0a28163b03788a67096dcbb745be99cf 100644 (file)
@@ -307,11 +307,10 @@ def base_set_filespath(path, d):
     if extrapaths != "":
         path = extrapaths.split(":") + path
     # The ":" ensures we have an 'empty' override
-    overrides = (":" + (d.getVar("FILESOVERRIDES", True) or "")).split(":")
-    overrides.reverse()
-    for o in overrides:
-        for p in path:
-            if p != "": 
+    overrides = ((d.getVar("FILESOVERRIDES", True) or "") + ":").split(":")
+    for p in path:
+        if p != "": 
+            for o in overrides:
                 filespath.append(os.path.join(p, o))
     return ":".join(filespath)