Yocto/Bitbake如何指定区分大小写的变量替换
Yocto/Bitbake How to specify case sensitive variable replacement
我在 yocto 中遇到问题,我在其中声明了一个变量
build/bblayers.conf
VAR="strINg"
然后当我在 meta-example/recipes-kernel/linux/linuxexamplekernel.bb
中使用它时
在 Source Uri 变量中
SRC_URI="http://${VAR}.example.com/"
当我需要大小写保持不变时,${VAR}
的值从 'strINg' 更正为 string
。字符串中间的大写字母必须保持不变。
有谁知道如何让 bitbake 原样替换变量而不进行大小写更正?
没有"case correction"。您看到了其他一些失败 - bitbake -e <recipe> | grep SRC_URI
并且对于 VAR 可能有用。还有:
${VAR}="strINg"
这应该是
VAR = "strINg"
我假设您知道 bblayers.conf 是一个相当令人惊讶的地方来定义这样的变量...
我在 yocto 中遇到问题,我在其中声明了一个变量
build/bblayers.conf
VAR="strINg"
然后当我在 meta-example/recipes-kernel/linux/linuxexamplekernel.bb
中使用它时
在 Source Uri 变量中
SRC_URI="http://${VAR}.example.com/"
当我需要大小写保持不变时,${VAR}
的值从 'strINg' 更正为 string
。字符串中间的大写字母必须保持不变。
有谁知道如何让 bitbake 原样替换变量而不进行大小写更正?
没有"case correction"。您看到了其他一些失败 - bitbake -e <recipe> | grep SRC_URI
并且对于 VAR 可能有用。还有:
${VAR}="strINg"
这应该是
VAR = "strINg"
我假设您知道 bblayers.conf 是一个相当令人惊讶的地方来定义这样的变量...