diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 01:32:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 13:17:39 +0000 |
commit | 4ddb7b870a2ddbf48ebf1ec2e454dc7421285202 (patch) | |
tree | 8dcec776e0d95013f5bcb1deafb9aaa91dd516a9 /meta/recipes-core/psplash | |
parent | dc175a20d3a269c08691d92ecf13afff8c1340dd (diff) | |
download | openembedded-core-4ddb7b870a2ddbf48ebf1ec2e454dc7421285202.tar.gz openembedded-core-4ddb7b870a2ddbf48ebf1ec2e454dc7421285202.tar.bz2 openembedded-core-4ddb7b870a2ddbf48ebf1ec2e454dc7421285202.zip |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/psplash')
-rw-r--r-- | meta/recipes-core/psplash/psplash_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |