mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
autotools.bbclass: don't create subshell to delete configure scripts
(From OE-Core rev: 107ab45444bfaa2d287bb490f76b44fc827048b5) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2f1bcc1915
commit
85b66791aa
@@ -226,9 +226,9 @@ autotools_do_configure() {
|
|||||||
# for a package whose autotools are old, on an x86_64 machine, which the old
|
# for a package whose autotools are old, on an x86_64 machine, which the old
|
||||||
# config.sub does not support. Work around this by installing them manually
|
# config.sub does not support. Work around this by installing them manually
|
||||||
# regardless.
|
# regardless.
|
||||||
( for ac in `find ${S} -ignore_readdir_race -name configure.in -o -name configure.ac`; do
|
for ac in `find ${S} -ignore_readdir_race -name configure.in -o -name configure.ac`; do
|
||||||
rm -f `dirname $ac`/configure
|
rm -f `dirname $ac`/configure
|
||||||
done )
|
done
|
||||||
if [ -e ${AUTOTOOLS_SCRIPT_PATH}/configure.in -o -e ${AUTOTOOLS_SCRIPT_PATH}/configure.ac ]; then
|
if [ -e ${AUTOTOOLS_SCRIPT_PATH}/configure.in -o -e ${AUTOTOOLS_SCRIPT_PATH}/configure.ac ]; then
|
||||||
olddir=`pwd`
|
olddir=`pwd`
|
||||||
cd ${AUTOTOOLS_SCRIPT_PATH}
|
cd ${AUTOTOOLS_SCRIPT_PATH}
|
||||||
|
|||||||
Reference in New Issue
Block a user