mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user