1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

psplash: Fix case where ${B} != ${S}

Allow out of tree builds to work by using the full path to the
source file.

(From OE-Core rev: 4ddb7b870a2ddbf48ebf1ec2e454dc7421285202)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-03-18 01:32:16 +00:00
parent e924d5bbe7
commit 297f6f5da1
+1 -1
View File
@@ -87,7 +87,7 @@ python do_compile () {
shutil.copyfile(localfile, destfile)
# For some reason just updating the header is not enough, we have to touch the .c
# file in order to get it to rebuild
os.utime("psplash.c", None)
os.utime("%s/psplash.c" % d.getVar('S', True), None)
bb.build.exec_func("oe_runmake", d)
shutil.copyfile("psplash", outputfile)
}