mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +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):
|
def machine_paths(d):
|
||||||
"""List any existing machine specific filespath directories"""
|
"""List any existing machine specific filespath directories"""
|
||||||
machine = d.getVar("MACHINE")
|
machine = d.getVar("MACHINE")
|
||||||
filespathpkg = d.getVar("FILESPATHPKG").split(":")
|
|
||||||
for basepath in d.getVar("FILESPATHBASE").split(":"):
|
for basepath in d.getVar("FILESPATHBASE").split(":"):
|
||||||
for pkgpath in filespathpkg:
|
machinepath = os.path.join(basepath, machine)
|
||||||
machinepath = os.path.join(basepath, pkgpath, machine)
|
if os.path.isdir(machinepath):
|
||||||
if os.path.isdir(machinepath):
|
yield machinepath
|
||||||
yield machinepath
|
|
||||||
|
|
||||||
def is_machine_specific(d):
|
def is_machine_specific(d):
|
||||||
"""Determine whether the current recipe is machine specific"""
|
"""Determine whether the current recipe is machine specific"""
|
||||||
|
|||||||
Reference in New Issue
Block a user