]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "autotools.bbclass: using relative paths for acpaths"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Sep 2012 16:56:56 +0000 (17:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Sep 2012 16:57:46 +0000 (17:57 +0100)
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@linuxfoundation.org>
meta/classes/autotools.bbclass

index 874e01dc740bd395bab7bea6bb7cc59b0f23913a..e4e034b62344a5ce4cea156495b0398ac73bb27d 100644 (file)
@@ -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