From 5b27c2f58fa45a55199c08ef219e3b41a09d2fe4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 4 May 2020 16:48:18 +0100 Subject: utils: Drop FILESPATHPKG usage Nothing in OE-Core uses this and its been deprecated for some time. Remove the last reference to it. Signed-off-by: Richard Purdie --- 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 cd3d05709e..c32b868aa8 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""" -- cgit 1.2.3-korg