首页 > 其他分享 >一些变量

一些变量

时间:2024-11-19 11:00:52浏览次数:1  
标签:yocto staging 变量 ti tisdk meta linux 一些

以TI的 linux-ti-staging 为例子,说明一些变量的基本含义.

D:表示编译生成镜像的目录,该目录下的产物,可用于共享给其他配方

bitbake linux-ti-staging -e | grep ^D
D="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62xx_evm-oe-linux/linux-ti-staging/6.6.32+git/image"

S:表示解压后(包括打补丁后)的源码目录

bitbake linux-ti-staging -e | grep ^S
S="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62xx_evm-oe-linux/linux-ti-staging/6.6.32+git/git"

TMPDIR:bitbake编译过程中的tmp目录

bitbake linux-ti-staging -e | grep ^TMPDIR
TMPDIR="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/build/arago-tmp-default-glibc"

PACKAGE_ARCH:包的架构名

bitbake linux-ti-staging -e | grep ^PACKAGE_ARCH
PACKAGE_ARCH="am62xx_evm"
PACKAGE_ARCHS="all any noarch aarch64 am62xx_evm"

TARGET_OS:目标操作系统类型

bitbake linux-ti-staging -e | grep ^TARGET_OS
TARGET_OS="linux"

PN:构建包的配方名

bitbake linux-ti-staging -e | grep ^PN
PN="linux-ti-staging"

PV:配方版本

bitbake linux-ti-staging -e | grep ^PV
PV="6.6.32+git"

PR:配方的修订版本

bitbake linux-ti-staging -e | grep ^PR
PR="r0_tisdk_5_edgeai_0_edgeai_8"

BP:PN+PV

bitbake linux-ti-staging -e | grep ^BP
BP="linux-ti-staging-6.6.32+git"
BPN="linux-ti-staging"

WORKDIR:软件包编译的工作目录

bitbake linux-ti-staging -e | grep ^WORKDIR
WORKDIR="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62xx_evm-oe-linux/linux-ti-staging/6.6.32+git"
WORKDIR_PKGDATA="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/build/arago-tmp-default-glibc/work/am62xx_evm-oe-linux/linux-ti-staging/6.6.32+git/pkgdata-sysroot"

 DL_DIR:软件包下载存放目录

bitbake linux-ti-staging -e | grep ^DL_DIR
DL_DIR="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/build/../downloads"

THISDIR:bb文件所在目录

bitbake linux-ti-staging -e | grep ^THISDIR
THISDIR="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux"

SRC_URI:源文件列表

bitbake linux-ti-staging -e | grep ^SRC_URI
SRC_URI=" git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git;protocol=https;branch=ti-linux-6.6.y             file://defconfig      file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch     file://0001-vt-conmakehash-improve-reproducibility.patch     file://0001-pnmtologo-use-relocatable-file-name.patch       file://0001-remoteproc-k3-dsp-assert-reset-in-probe.patch "

FILESPATH:本地文件目录集合,bitbake查找SRC_URI的 file:// 时会去FILESPATH指定的目录去查找file。FILESPATH的默认值在base.bbclass中定义,使用FILESEXTRAPATHS扩展FILESPATH

bitbake linux-ti-staging -e | grep ^FILESPATH
FILESPATH="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/arago:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/am62xx:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/k3:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/ti-soc:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/bsp-ti-6_6:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/aarch64:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6.32+git/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/files/"

FILESEXTRAPATHS:扩展FILESPATH

bitbake linux-ti-staging -e | grep ^FILESEXTRAPATHS
FILESEXTRAPATHS="/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-edgeai/recipes-kernel/linux/linux-ti-staging/am62xx-evm:/home/likw/ex1/ti-tisdk-yocto/tisdk/tisdk/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6:__default:"

 

标签:yocto,staging,变量,ti,tisdk,meta,linux,一些
From: https://www.cnblogs.com/f1engmin11/p/18554416

相关文章

  • MindSpore-2.4版本中的一些新特性
    技术背景在前面的一篇博客中我们介绍了MindSpore-2.4-gpu的安装和其中可能出现的一些问题。这里我们在安装完成之后,可以尝试使用一些MindSpore新版本的特性。那么在安装之后,如果是使用VSCode作为IDE,可以使用ctrl+shift+P快捷键,然后搜索python:sele将Python解释器切换到我们所需要......
  • 单变量微积分学习笔记:反函数求导法则(12)【6,9,11】
    常用公式\(\arcsin(x)=\frac{1}{\sqrt{1-x^2}}\)\(\arccos(x)=-\frac{1}{\sqrt{1-x^2}}\)\(\arctan(x)=\frac{1}{1+x^2}\)证明\(y=\arcsin(x)\)\(\sin(y)=x\)\(\cos(y)y'=1\)\(y'=\frac{1}{\cos(y)}\)\(y'=\......
  • 单变量微积分学习笔记:求导(6)【3】
    常见\((x^n)'=nx^{n-1}\)\((sin(x))'=cos(x)\)\((cos(x))'=-sin(x)\)\((x^n)'=nx^{n-1}\)\(n\inZ^+\)\(\lim_{\Deltax\to0}\frac{(x+\Deltax)^n-x^n}{\Deltax}=\lim_{\Deltax\to0}\frac{nx^{n-1}\......
  • 单变量微积分学习笔记:四则运算求导法则(7)【6】
    公式\((u\pmv)'=u'\pmv'\)\((uv)'=u'v+uv'\)\((\frac{u}{v})'=\frac{u'v-v'u}{v^2}\)证明(导数的定义)\((u\pmv)'=\lim_{\Deltax\to0}\frac{(u(x+\Deltax)\pmv(x+\Deltax))-(u......
  • 聊聊springboot项目中使用jackson的一些小技巧
    前言在我们前后端联调时,很经常以json作为数据的交互格式,今天我们就来聊聊在开发springboot项目中,使用jackson进行数据渲染一些小技巧场景一:枚举-JSON互转在日常开发中我们为了避免过多的魔法值,使用枚举类来封装一些静态的状态代码。但是在将这些枚举的意思正确而全面的返回给......
  • 循环内的会被其他核修改的变量需要使用volatile的例子说明,及内存屏障的原理及使用
    一、背景之前在做 rt-linux之防止优先级反转-CSDN博客 里的优先级反转的实验的验证时,在模拟长时间占锁的代码里使用了死循环死等一个标志位的方式,遇到了这篇博客里说的这个不加volatile导致的代码运行与编写预期不一致的情况。我觉得是一个比较典型的情况,所以有必要单独写一......
  • 关于一些哈希
    随缘更新,但考虑到马上要退役,毕业前应该没机会力。求字符串的最长公共前缀标准空间复杂度:\((\sum_i|s_i|)\),但根据具体场景通常可以缩小至\(O(n)\)。时间复杂度:\(O(\sum_i|s_i|)\)预处理,\(O(\logmin(|s_i|,|s_j|))\)求两字符串的最长公共前缀对于每个字符串,预处理其前缀has......
  • Oracle手工创建数据库和多环境变量下如何连接指定的数据库
    Oracle手工创建数据库(hefeidb)Oracle创建数据库的方法有三种:dbca、静默方式、手工建库三种方法,这里演示手工建库的方式,适用在不能运行dbca的环境下面创建库:1设置环境变量(新增一个)su-oraclecd/home/oraclecp.bash_profile.bash_profile.fgzcdbvi.bash_profileif......
  • Wincc 7.5SP2下VBA编程批量设置变量线性标定
    继续学习wincc下面VBA编程,这个练习实现变量线性标定。在前面练习基础上做,有REAL1至REAL10共10个变量,通过VBA脚本对Real1至Real5设置线性标定。写下面的VBA脚本: SubSetTagScaleParameter()DimhmigoAshmigoDimstrTagNameAsStringDimiAsIntegerSethmigo=NewhmigoFo......
  • 一些值得注意的STL使用,用错了可能就复杂度错误了
    前言一些见到(或看到别人,或写了)的问题就记一下吧正文lower_boundSTL分为两类,一类是支持随机访问的,另一类是不支持随机访问的。而不支持随机访问的,若使用lower_bound函数,请一定要使用.....lower_bound(...),因为这样的复杂度是对的(\(\log\)),否则就是线性的。我在cpprefernce上......