u-boot下载源码后,直接make all是编译不过的。至少需要两步,
make xxxx_config
make all
刚开始接触u-boot总是存在这样的疑问,../include/configs/mini2440.h是如何关联到../board/mini2440.c中的?显然他们并没有在源码中有直接的包含关系。
编译u-boot时,输入
make mini2440_config
make
u-boot就被成功创建了,这都归功于Makefile与mkconfig
在u-boot的顶层文件夹中的Readme中,有如下描述:
If the system board that you have is not listed,then you will need
to port U-Boot to your hardware platform. To dothis, follow these
steps:
1. Add an