为啥 yocto 跳过我的食谱?
Posted
技术标签:
【中文标题】为啥 yocto 跳过我的食谱?【英文标题】:Why does yocto skip my recipes?为什么 yocto 跳过我的食谱? 【发布时间】:2015-01-18 03:10:39 【问题描述】:我正在尝试为我的飞思卡尔 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
layer.conf
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)"
【问题讨论】:
【参考方案1】:我发现了问题:
COMPATIBLE_MACHINE 应该是 imx6dlwisehmi 以匹配机器名称。
【讨论】:
以上是关于为啥 yocto 跳过我的食谱?的主要内容,如果未能解决你的问题,请参考以下文章
php 'ISSET' 功能不起作用。或者代码跳过我的 if 语句