[oe-commits] Ross Burton : gperf: fix out-of-tree builds

git at git.openembedded.org git at git.openembedded.org
Fri Dec 14 15:06:02 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 74d853525fc4252f717f0baaa322e6aa5c4eb88f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=74d853525fc4252f717f0baaa322e6aa5c4eb88f

Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Dec 14 14:51:20 2012 +0000

gperf: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/gperf/gperf.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/gperf/gperf.inc b/meta/recipes-extended/gperf/gperf.inc
index a521e09..10ee912 100644
--- a/meta/recipes-extended/gperf/gperf.inc
+++ b/meta/recipes-extended/gperf/gperf.inc
@@ -14,8 +14,8 @@ inherit autotools
 EXTRA_AUTORECONF += " -I ${S}"
 
 do_configure_prepend() {
-        if [ ! -e acinclude.m4 ]; then
-                cat aclocal.m4 > acinclude.m4
+        if [ ! -e ${S}/acinclude.m4 ]; then
+                cat ${S}/aclocal.m4 > ${S}/acinclude.m4
         fi
 }
 





More information about the Openembedded-commits mailing list