📄 fine-grained-configuration.html
字号:
<!-- Copyright (C) 2003 Red Hat, Inc. --><!-- This material may be distributed only subject to the terms --><!-- and conditions set forth in the Open Publication License, v1.0 --><!-- or later (the latest version is presently available at --><!-- http://www.opencontent.org/openpub/). --><!-- Distribution of the work or derivative of the work in any --><!-- standard (paper) book form is prohibited unless prior --><!-- permission is obtained from the copyright holder. --><HTML><HEAD><TITLE>Fine-grained Configuration</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos User Guide"HREF="ecos-user-guide.html"><LINKREL="UP"TITLE="Manual Configuration"HREF="manual-configuration.html"><LINKREL="PREVIOUS"TITLE="Coarse-grained Configuration"HREF="coarse-grained-configuration.html"><LINKREL="NEXT"TITLE="Editing an eCos Savefile"HREF="editing-an-ecos-savefile.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos User Guide</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="coarse-grained-configuration.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 28. Manual Configuration</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="editing-an-ecos-savefile.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="FINE-GRAINED-CONFIGURATION">Fine-grained Configuration</H1><P><BCLASS="COMMAND">ecosconfig</B> only provides coarse-grained control over the configuration: the hardware, the template and the packages that should be built. Unlike the Configuration Tool, <BCLASS="COMMAND">ecosconfig</B> does not provide any facilities for manipulating finer-grained configuration options such as how many priority levels the scheduler should support. There are hundreds of these options, and manipulating them by means of command line arguments would not be sensible. </P><P>In the current system fine-grained configuration options maybe manipulated by manual editing of the configuration file. Whena file has been edited in this way, the <BCLASS="COMMAND">ecosconfig</B> toolshould be used to check the configuration for any conflicts whichmay have been introduced:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ ecosconfig check</PRE></TD></TR></TABLE><P>The <BCLASS="COMMAND">check</B> command will listall conflicts and will also rewrite the configuration file, propagatingany changes which affect other options. The user may choose to resolvethe conflicts either by re-editing the configuration file manuallyor by invoking the inference engine using the <BCLASS="COMMAND">resolve</B> command:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ ecosconfig resolve</PRE></TD></TR></TABLE><P>The <BCLASS="COMMAND">resolve</B> command willlist all conflicts which can be resolved and save the resulting changesto the configuration.</P><P>It is necessary to regenerate the build tree and header filesfollowing any changes to the configuration before rebuilding <SPANCLASS="PRODUCTNAME">eCos</SPAN>:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">$ ecosconfig tree</PRE></TD></TR></TABLE><P>All the configuration options and their descriptions are listedin the <ICLASS="CITETITLE"><SPANCLASS="PRODUCTNAME">eCos</SPAN> Reference Manual</I>. </P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="coarse-grained-configuration.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-user-guide.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="editing-an-ecos-savefile.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Coarse-grained Configuration</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="manual-configuration.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Editing an <SPANCLASS="PRODUCTNAME">eCos</SPAN> Savefile</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -