【发布时间】:2015-12-19 19:17:40
【问题描述】:
我正在尝试构建 u-boot
工具链: http://web.archive.org/web/20130823131954/http://www.angstrom-distribution.org/toolchains/
U-boot: git.denx.de
我正在关注这个网站来构建这个 u-boot
它说在构建之前放置交叉编译器路径。
export PATH=/usr/local/angstrom/arm/bin:$PATH
1) 我可以在 /usr/local 中看到 angstrom 文件夹。另外我认为我们需要工具链的二进制文件的实际位置。假设在 /home/myhome/BBB/angtrom_x_y_z/usr/local/angstrom/arm/bin
那么实际上我应该导出哪条路径?
2)我尝试同时放置两条路径,但出现错误。
3)我已经下载了三个工具链
angstrom-2011.03-i686-linux-armv5te-linux-gnueabi-toolchain
angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3
angstrom-2011.03-i686-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3
第一个给出错误
CROSS_COMPILE=arm-angstrom-linux-gnueabi- make am335x_evm
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
GEN include/autoconf.mk
arm-angstrom-linux-gnueabi-gcc: 0: No such file or directory
arm-angstrom-linux-gnueabi-gcc: unrecognized option '-G'
cc1: error: unrecognized command line option "-mabicalls"
make[1]: *** [include/autoconf.mk] Error 1
make: *** No rule to make target `am335x_evm'. Stop.
第二个是我认为的 64 位处理器,我有一个 i386,所以它也不起作用
第三个已损坏。
谁能告诉我如何按照网站上的说明编译它。也许这个网站已经过时了,但如果有人能告诉我一个简单的方法如何做到这一点。
【问题讨论】:
标签: build cross-platform u-boot