This service is available only in Japanese-language.

devtool build コマンドでのエラーについて

拡張SDKにて、devtool add でレシピを追加した後に、devtool build コマンドを実行したところ以下のエラーが発生しました。

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky_sdk/layers/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/yocto/poky_sdk/layers/poky/meta/recipes-devtools/cmake/cmake-native_3.15.3.bb:do_populate_sysroot', '/home/yocto/poky_sdk/layers/poky/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot', '/home/yocto/poky_sdk/layers/poky/meta/recipes-devtools/gcc/gcc-runtime_9.2.bb:do_populate_sysroot', '/home/yocto/poky_sdk/layers/poky/meta/recipes-core/glibc/glibc_2.30.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky_sdk/layers/poky/meta/recipes-devtools/ninja/ninja_1.9.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'cmake-native', 'gcc-cross-x86_64', 'gcc-runtime', 'glibc', 'ninja-native', 're2c-native', 'quilt-native', 'xz-native', 'expat-native', 'zlib-native', 'curl-native', 'ncurses-native', 'bzip2-native', 'flex-native', 'libtool-native', 'autoconf-native', 'mpfr-native', 'gmp-native', 'linux-libc-headers', 'texinfo-dummy-native', 'binutils-cross-x86_64', 'libmpc-native', 'gnu-config-native', 'automake-native', 'libgcc', 'gettext-minimal-native', 'pkgconfig-native', 'openssl-native', 'm4-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_install
NOTE: DESTDIR=/home/yocto/poky_sdk/tmp/work/corei7-64-poky-linux/helloworld/1.0-r0/image VERBOSE=1 cmake --build /home/yocto/poky_sdk/tmp/work/corei7-64-poky-linux/helloworld/1.0-r0/helloworld-1.0/ --target install -- -j 4
ninja: error: unknown target 'install'
WARNING: exit code 1 from a shell command.
WARNING: /home/yocto/poky_sdk/layers/poky/bitbake/lib/bb/build.py:582: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/yocto/poky_sdk/source/helloworld/singletask.lock' mode='a+' encoding='UTF-8'>
exec_func(task, localdata)

ERROR: Execution of '/home/yocto/poky_sdk/tmp/work/corei7-64-poky-linux/helloworld/1.0-r0/temp/run.do_install.11321' failed with exit code 1:
ninja: error: unknown target 'install'
WARNING: exit code 1 from a shell command.

ビルドツールはCMakeを使用しており、Ninjaを使用してビルドした際のエラーであることは分かりましたが、
「unknown target 'install'」がどのようなエラーなのか理解できていません。
どのようにすればこのエラーを回避することができるのかご教授いただけますでしょうか。

/home/yocto/poky_sdk/tmp/work/corei7-64-poky-linux/helloworld/1.0-r0/temp/log.do_install.11321
により詳しいログが残されている可能性があります。(こちらに表示されているものと同一内容かもしれませんが)

ちなみに、ソースコード内のCMakeLists.txt  では、install() をどのように定義されていますか?

/home/yocto/poky_sdk/tmp/work/corei7-64-poky-linux/helloworld/1.0-r0/temp/log.do_install.11321
にログを確認しましたが、内容は同じでした。
CMakeLists.txt を確認したら install() の定義をしていませんでした。
定義を追記して試してみます。
結果は後ほど報告させていただきます。