]> code.ossystems Code Review - openembedded-core.git/commitdiff
bash: reference acl*.m4 from ${S}
authorBian Naimeng <biannm@cn.fujitsu.com>
Wed, 7 Aug 2013 03:33:19 +0000 (11:33 +0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 9 Aug 2013 14:55:10 +0000 (07:55 -0700)
bash: reference acl*.m4 from ${S}.

The build directory had been moved to ${WORKDIR}/build,
so we should reference acl*.m4 from ${S}.
Otherwise, the following configure error will be caught.

  | cat: aclocal.m4: No such file or directory
  | ERROR: Function failed: do_configure (log file is located at ...)

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/bash/bash.inc

index 2f4519cdda15a5a91a4e636d682ec49f111d14e2..64b476f4fb83093b49fb26ff8cc6adc51b151359 100644 (file)
@@ -20,8 +20,8 @@ export AUTOHEADER = "true"
 RDEPENDS_${PN}-ptest += "make"
 
 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
 }