您的位置:首页 > 运维架构 > Linux

linux arm cross-compile

2014-10-29 15:02 411 查看
0. git clone git://git.freescale.com/imx/linux-2.6-imx.git

1. download a toolchain to a ubuntu;

2. export PATH=$PATH:the-path-toolchain, then the prefix arm-none-linux-gnueabi- can be found.

3. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- imx_v6_v7_defconfig

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

Note:

imx_v6_v7_defconfig is in the directory arch/arm/configs
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: