分类: LINUX
2014-10-27 13:46:46
原文地址:u-boot mkconfig文件解析 作者:charming2440
|
在include文件夹下建立相应的文件(夹)软连接,
#如果是ARM体系将执行以下操作:
#ln -s asm-arm asm#ln -s arch-s3c24x0 asm-arm/arch
#ln -s proc-armv asm-arm/proc
生成Makefile包含文件include/config.mk,内容很简单,定义了四个变量:
ARCH = arm
CPU = arm920t
BOARD = mini2440VENDOR = tekkamanninja
SOC = s3c24x0
生成include/config.h头文件,只有两行:
/* Automatically generated - do not edit */
#include "configs/mini2440.h"#include"asm/config.h"