今天在制作uImage镜像文件时
执行:
make uImage
提示:
make: arm-linux-gcc: Command not found
我记得在文件/etc/profile文件中添加了arm-linux-gcc的环境变量了呀,怎么还是提示找不到呢?
原来还需要再用户的环境变量~/.bashrc中添加该变量信息:
PATH=$PATH:变量绝对路径名
再次执行make uImage生成类似如下的信息:
.
.
Image Name: Linux-2.6.22.6
Created: Wed May 1 18:19:29 2013
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1848656 Bytes = 1805.33 kB = 1.76 MB
Load Address: 0x30008000
Entry Point: 0x30008000
Image arch/arm/boot/uImage is ready