【发布时间】:2019-03-11 04:07:31
【问题描述】:
我想在我的 linux 内核上启用 iproute2 中的 tc command。我的内核是使用 yocto 和 bitbake 构建的。
所以,我从以下链接复制了 iproute recipes 和整个目录来尝试 -- https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-connectivity/iproute2
并包含在我的 yocto 构建中。那拿起了食谱,一切都做得很好。但是我的tc 命令在构建的内核上仍然不可用。
问题:
我缺少什么以及如何在使用 Yocto 配方构建的 linux 映像的内核中启用 tc?
【问题讨论】:
-
您需要在内核配方中指定
DEPENDS += iproute2。这样iproute的所有文件在内核编译时都是可用的。
标签: linux yocto bitbake iproute