gpt4 book ai didi

yocto - 为什么 yocto 会跳过我的食谱?

转载 作者:行者123 更新时间:2023-12-05 04:16:34 27 4
gpt4 key购买 nike

我正在尝试为我的飞思卡尔 imx6 板添加一个新层。它依赖于 meta-fsl-arm 层。

层被添加到 bblayers.conf。但是当我构建机器 imx6dlwisehmi 时,linux-imx6-autorock_3.10.17.bb 不会用作虚拟/内核。该配方在 bitbake-layers show-recipes 输出中被跳过。还有警告:

WARNING: No bb files matched BBFILE_PATTERN_autorock '^/opt/yocto/sources/meta-autorock/'

感谢任何帮助,谢谢。

这是我图层的详细信息:

文件树

meta-autorock/
|
+--conf/
| |
| +--machine/
| | |
| | +--imx6dlwisehmi.conf
| |
| +--layer.conf
|
+--recipes-kernel/
|
+--linux/
|
+--linux-imx6-autorock-3.10.17/
| |
| +--wisehmi/
| |
| +--defconfig
|
+--linux-imx6-autorock_3.10.17.bb

图层配置文件

BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "autorock"
BBFILE_PATTERN_autorock = "^${LAYERDIR}/"
BBFILE_PRIORITY_autorock = "4"
LAYERVERSION_autorock = "3"

LAYERDEPENDS_autorock = "core fsl-arm"

imx6dlwisehmi.conf

require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa9.inc

PREFERRED_PROVIDER_virtual/kernel ?= "linux-imx6-autorock"
PREFERRED_VERSION_linux-imx6-autorock ?= "3.10.17"

SOC_FAMILY = "mx6:mx6dl"

linux-imx6-autorock_3.10.17.bb

require recipes-kernel/linux/linux-imx.inc
require recipes-kernel/linux/linux-dtb.inc

SUMMARY = "Linux kernel for Autorock boards"

SRC_URI = "git@git.autorock.com:i-mx6/fsl-linux.git;branch=${SRCBRANCH} \
file://defconfig"

LOCALVERSION = "-1.0.1_ga+yocto"
SRCBRANCH = "imx_3.10.17_1.0.1_ga"
SRCREV = "45add5da5831d3f6ddd1db0160797080a8adf9a5"
DEPENDS += "lzop-native bc-native u-boot-mkimage-native"
COMPATIBLE_MACHINE = "(wisehmi)"

最佳答案

我发现了问题:

COMPATIBLE_MACHINE 应该是 imx6dlwisehmi 以匹配机器名称。

关于yocto - 为什么 yocto 会跳过我的食谱?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27036516/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com