diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-04 16:48:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-05 13:18:41 +0100 |
commit | 5b27c2f58fa45a55199c08ef219e3b41a09d2fe4 (patch) | |
tree | f45cfd0e449cbd687bd0c0a1f8a61f72ec94856d /meta/classes/utils.bbclass | |
parent | 0d5f86e021fe25cec258e3b8bb87cc45c8631cf7 (diff) | |
download | openembedded-core-contrib-5b27c2f58fa45a55199c08ef219e3b41a09d2fe4.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r-- | meta/classes/utils.bbclass | 8 |
1 files 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""" |