From: Ross Burton Date: Fri, 14 Dec 2012 14:51:20 +0000 (+0000) Subject: gperf: fix out-of-tree builds X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d853525fc4252f717f0baaa322e6aa5c4eb88f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gperf: fix out-of-tree builds Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/gperf/gperf.inc b/meta/recipes-extended/gperf/gperf.inc index a521e0943bd..10ee912b469 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 }