utils: Drop FILESPATHPKG usage

Nothing in OE-Core uses this and its been deprecated for some time. Remove
the last reference to it.

(From OE-Core rev: 5b27c2f58fa45a55199c08ef219e3b41a09d2fe4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2020-05-04 16:48:18 +01:00
parent 7ad8d67b1d
commit 2457c6c886

View 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"""