gperf: fix out-of-tree builds
(From OE-Core rev: 74d853525fc4252f717f0baaa322e6aa5c4eb88f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3f1407457f
commit
250c4d28a8
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue