Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] psplash: Fix case where ${B} != ${S}
@ 2013-03-18  1:32 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-03-18  1:32 UTC (permalink / raw)
  To: openembedded-core

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>
---
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb
index 482670d..5413b24 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)
 }





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-18  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18  1:32 [PATCH] psplash: Fix case where ${B} != ${S} Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox