| DEBUG: Executing shell function do_kernel_metadata
| NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
| ERROR: Feature 'features/kernel-sample/kernel-sample.scc' not found, this will cause configuration failures.
| ERROR: Check the SRC_URI for meta-data repositories or directories that may be missing
| ERROR: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/xx/yocto_poky/sequans/meta-sqn/recipes-kernel/linux/linux-xx_6.1.bb:do_kernel_metadata) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1595 tasks of which 1594 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
原因是我include了…/poky/meta/recipes-kernel/linux/linux-yocto.inc
KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc features/taskstats/taskstats.scc"
KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'cfg/efi.scc', '', d)}"
KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"
KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}"
导致我找不到这些scc,可是我又不知道如何解决这些scc,所以我就把他们都remove了哈哈
KERNEL_FEATURES:remove = "features/debug/printk.scc features/taskstats/taskstats.scc cfg/fs/vfat.scc features/kernel-sample/kernel-sample.scc"
像这样