mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
perl: Don't change /usr/include references in docs to sysroot paths
do_configure() will no longer convert references to /usr/include into /path/to/recipes-sysroot/usr/include for the file "Porting/Glossary". [YOCTO #11243] (From OE-Core rev: cb2dfe5627df2ff235b37622260484841f39af17) Signed-off-by: Ooi Cinly <cinly.ooi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a3c1bbc88d
commit
20aa482ec6
@@ -171,7 +171,7 @@ do_configure() {
|
||||
;;
|
||||
esac
|
||||
# These are strewn all over the source tree
|
||||
for foo in `grep -I --exclude="*.patch" --exclude="*.diff" --exclude="*.pod" --exclude="README*" -m1 "/usr/include/.*\.h" ${S}/* -r -l` ${S}/utils/h2xs.PL ; do
|
||||
for foo in `grep -I --exclude="*.patch" --exclude="*.diff" --exclude="*.pod" --exclude="README*" --exclude="Glossary" -m1 "/usr/include/.*\.h" ${S}/* -r -l` ${S}/utils/h2xs.PL ; do
|
||||
echo Fixing: $foo
|
||||
sed -e 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i $foo
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user