]> code.ossystems Code Review - openembedded-core.git/commitdiff
utils: Drop FILESPATHPKG usage
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 May 2020 15:48:18 +0000 (16:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 May 2020 12:18:41 +0000 (13:18 +0100)
Nothing in OE-Core uses this and its been deprecated for some time. Remove
the last reference to it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass

index cd3d05709ed2b9aa8c208801fcd9b0f3977a0fca..c32b868aa88d8e756a56d6a36d12e6d9b2cdfbdd 100644 (file)
@@ -1,12 +1,10 @@
 def machine_paths(d):
     """List any existing machine specific filespath directories"""
     machine = d.getVar("MACHINE")
-    filespathpkg = d.getVar("FILESPATHPKG").split(":")
     for basepath in d.getVar("FILESPATHBASE").split(":"):
-        for pkgpath in filespathpkg:
-            machinepath = os.path.join(basepath, pkgpath, machine)
-            if os.path.isdir(machinepath):
-                yield machinepath
+        machinepath = os.path.join(basepath, machine)
+        if os.path.isdir(machinepath):
+            yield machinepath
 
 def is_machine_specific(d):
     """Determine whether the current recipe is machine specific"""