[oe-commits] Richard Purdie : Revert "autotools.bbclass: using relative paths for acpaths"

git at git.openembedded.org git at git.openembedded.org
Thu Sep 27 17:05:49 UTC 2012


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Sep 27 17:56:56 2012 +0100

Revert "autotools.bbclass: using relative paths for acpaths"

This reverts commit aa66ef6598c84231577d139ec7be413e73fac2b1 since
bdwgc-native fails to build after it. Anything which runs with a
sub-configure will fail after this change. It therefore needs
rethinking.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/autotools.bbclass |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 874e01d..e4e034b 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -130,8 +130,7 @@ autotools_do_configure() {
 		if [ x"${acpaths}" = xdefault ]; then
 			acpaths=
 			for i in `find ${S} -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \
-				grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u| \
-				sed -e 's,${S},\.,'`; do
+				grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do
 				acpaths="$acpaths -I $i"
 			done
 		else





More information about the Openembedded-commits mailing list