From 4ddb7b870a2ddbf48ebf1ec2e454dc7421285202 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 18 Mar 2013 01:32:16 +0000 Subject: psplash: Fix case where ${B} != ${S} Allow out of tree builds to work by using the full path to the source file. Signed-off-by: Richard Purdie --- meta/recipes-core/psplash/psplash_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index 482670d0b4..5413b24057 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb @@ -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) } -- cgit 1.2.3-korg