cmake_extra_sanity.bbclass: Fix typo in comment / correct path in error

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2022-09-05 22:38:09 +02:00
parent 1771ca13d5
commit 1ed9e9f6db

View File

@@ -22,7 +22,7 @@ do_install:append() {
# TBD: -> oe-core (1st part - genarated sources - should work with autotools too) # TBD: -> oe-core (1st part - genarated sources - should work with autotools too)
if [ x = x$no_staging_check ] ; then if [ x = x$no_staging_check ] ; then
error= error=
# check for genarated sources # check for generated sources
for f in `find ${B} -name '*.h' -o -name '*.cpp'` ; do for f in `find ${B} -name '*.h' -o -name '*.cpp'` ; do
if grep -q 'recipe-sysroot' $f ; then if grep -q 'recipe-sysroot' $f ; then
bbwarn "$f contains links to build sysroot!" bbwarn "$f contains links to build sysroot!"
@@ -40,7 +40,7 @@ do_install:append() {
done done
if [ x != x$error ] ; then if [ x != x$error ] ; then
bbfatal "One or more files contain links to build host sysroot ${STAGING_DIR}" bbfatal "One or more files contain links to build host sysroot ${STAGING_DIR_HOST}(-native)"
fi fi
fi fi
} }