【发布时间】:2023-03-20 06:45:02
【问题描述】:
我在 yocto 中有一个问题,我在我的
build/bblayers.conf
VAR="strINg"
然后当我在meta-example/recipes-kernel/linux/linuxexamplekernel.bb 中使用它时
在源 Uri 变量中
SRC_URI="http://${VAR}.example.com/"
当我需要大小写保持不变时,${VAR} 的值将大小写从 'strINg' 更正为 string。字符串中间的大写字母必须保持不变。
有谁知道如何让 bitbake 原样替换变量而不进行大小写校正?
【问题讨论】: