All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] utils: Drop FILESPATHPKG usage
@ 2020-05-04 15:49 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2020-05-04 15:49 UTC (permalink / raw)
  To: openembedded-core

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 | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index cd3d05709ed..c32b868aa88 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -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"""
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-04 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 15:49 [PATCH] utils: Drop FILESPATHPKG usage Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.