u-boot-2012.10 官方文档翻译--软件配置

Software Configuration:
=======================
软件配置

Configuration is usually done using C preprocessor defines; the rationale behind that is to avoid dead code whenever possible.
通常使用C预处理来配置,原因是为了尽可能避免破坏代码。

There are two classes of configuration variables:

有两类配置变量:


* Configuration _OPTIONS_:

*配置选项:

  These are selectable by the user and have names beginning with  "CONFIG_".
这些都是由用户选择,并且命名以"CONFIG_"开头。

* Configuration _SETTINGS_:

*配置设置:

  These depend on the hardware etc. and should not be meddled with if  you don't know what you're doing; they have names beginning with  "CONFIG_SYS_".

 这些依赖硬件,如果你不知道你在作什么,就不应该干涉,它们命名以"CONFIG_SYS_"开头。


Later we will add a configuration tool - probably similar to or even identical to what's used for the Linux kernel. Right now, we have to do the configuration by hand, which means creating some symbolic links and editing some configuration files. We use the TQM8xxL boards as an example here.

稍后我们将增加一个配置工具--和用于linux内核的工具可能类似,甚至是相同。现在,我们不得不手动配置,这意味着要建立一些链接符号,并且编辑一些配置文件。在这里,我们使用 TQM8xxL 板作为例子。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值