mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many times
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
db9b8bc9a3
commit
d332f1881f
@@ -139,13 +139,11 @@ do_configure() {
|
||||
-e 's,/perl5,/perl,g' \
|
||||
config.sh-${TARGET_ARCH}-${TARGET_OS}
|
||||
|
||||
if test "${MACHINE}" != "native"; then
|
||||
# These are strewn all over the source tree
|
||||
for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
|
||||
echo Fixing: $foo
|
||||
sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
|
||||
done
|
||||
fi
|
||||
# These are strewn all over the source tree
|
||||
for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
|
||||
echo Fixing: $foo
|
||||
sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
|
||||
done
|
||||
|
||||
rm -f config
|
||||
echo "ARCH = ${TARGET_ARCH}" > config
|
||||
|
||||
Reference in New Issue
Block a user