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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user