Skip to contentSkip to conversation

bash: reference acl*.m4 from ${S}

PATCH New Bian Naimeng 1 participant 1 message Aug 7, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash: reference acl*.m4 from ${S}

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 ...)

---
 meta/recipes-extended/bash/bash.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/bash/bash.inc +2 -2
index 2f4519c..64b476f 100644
@@ -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
 }
 
Signature · 1 line
1.7.7