mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. (From OE-Core rev: 1f18b9a512800860d5153d89eb82b56388efad6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -331,7 +331,7 @@ python split_perl_packages () {
|
||||
d.setVar(d.expand("RDEPENDS:${PN}-modules"), ' '.join(packages))
|
||||
|
||||
# Read the pre-generated dependency file, and use it to set module dependecies
|
||||
for line in open(d.expand("${WORKDIR}") + '/perl-rdepends.txt').readlines():
|
||||
for line in open(d.getVar("UNPACKDIR") + '/perl-rdepends.txt').readlines():
|
||||
splitline = line.split()
|
||||
# Filter empty lines and comments
|
||||
if len(splitline) == 0 or splitline[0].startswith("#"):
|
||||
|
||||
Reference in New Issue
Block a user