【yocto】11.未解决:feature ‘features/kernel-sample/kernel-sample.scc‘ not found

| 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"

像这样

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值