简体   繁体   English

Raspberry Pi的交叉编译Linux内核

[英]Cross-Compiling Linux Kernel for Raspberry Pi

I'm trying to follow this guide . 我正在尝试遵循本指南 I'm running on a 32bit Ubuntu installation. 我正在32位Ubuntu安装上运行。

I'm confused by this part: export CCPREFIX=/path/to/your/compiler/binary/prefix-of-binary- . 我对此部分感到困惑: export CCPREFIX=/path/to/your/compiler/binary/prefix-of-binary- I've looked through the tools folder I downloaded from github and can't find any binary files. 我浏览了从github下载的tools文件夹,找不到任何二进制文件。 Does anybody know what file the guide is referring to? 有人知道指南指的是什么文件吗?

Thanks 谢谢

The link that you are following gives an example of how to do this. 您所关注的链接提供了有关如何执行此操作的示例。 At the top of the document it says CCPREFIX=/home/me/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- 在文档的顶部说CCPREFIX=/home/me/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

In other words, if you cloned https://github.com/raspberrypi/tools into the home directory then there would be a tools directory there and you should have the same path as the example. 换句话说,如果您将https://github.com/raspberrypi/tools克隆到主目录中,那么那里将有一个tools目录,并且您应该具有与示例相同的路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM