【问题标题】:Yocto Build git directory is missing for Kernel内核缺少 Yocto Build git 目录
【发布时间】:2019-01-19 06:24:21
【问题描述】:

我下载了 yocto,将 beaglebone 激活为机器。然后我构建 core-image-minimal。我想做内核和u-boot修改。

但缺少以下路径的“git”目录: <build dir>/tmp/work/<machine>/<kernel-name>/<kernel-version>/git/

我有用于 u-boot 的 git 目录,但没有用于内核。有谁知道,可能是什么原因?

【问题讨论】:

    标签: kernel yocto porting


    【解决方案1】:

    内核源码目录位于${TMPDIR}/work-shared/${MACHINE}/kernel-source。

    默认情况下,$TMPDIR 是构建目录中的 tmp。

    【讨论】:

    • 感谢您的回答 aehs29,我正在阅读解释如何修改内核和设备树的文档。文件告诉我们,内核在以下路径上; /tmp/work/imx6q_openrex-poky-linux-gnueabi/linux-openrex/3.14-r0/git 你知道吗,为什么你启动在 /work/ 目录,但内核在 /work-shared/ ?
    • 内核源码目录取决于厂商的层级还是标准?
    猜你喜欢
    • 1970-01-01
    • 2013-11-23
    • 2018-05-05
    • 1970-01-01
    • 2020-06-17
    • 2021-09-22
    • 2021-03-02
    • 1970-01-01
    • 2022-01-13
    相关资源
    最近更新 更多