Skip to main content.
Navigation:
DENX
>
DULG
>
UBootConfiguration
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
DULG
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
DULG Home
BoardSelect
Manual
FAQ
Application Notes
Changes
Index
List of pages in DULG
Search
%SECTION0{name=UBootConfiguration}% Configuration After changing to the directory with the U-Boot source code you should make sure that there are no build results from any previous configurations left: <verbatim> $ make distclean </verbatim> The following (model) command configures U-Boot for the %BOARDNAME% board: <pre> $ make %BOARD%_config </pre> <!-- Add hint for boards with more than one configuration --> %INCLUDE{DULGData_%BOARD%.UBootConfig}% And finally we can compile the tools and U-Boot itself: <pre> $ make all </pre> By default the build is performed locally and the objects are saved in the source directory. One of the two methods can be used to change this behaviour and build U-Boot to some external directory: 1. Add O= to the make command line invocations: <pre> make O=/tmp/build distclean make O=/tmp/build %BOARD%_config make O=/tmp/build all </pre> Note that if the 'O=output/dir' option is used then it must be used for all invocations of make. 2. Set environment variable =BUILD_DIR= to point to the desired location: <pre> export BUILD_DIR=/tmp/build make distclean make %BOARD%_config make all </pre> Note that the command line "O=" setting overrides the =BUILD_DIR= environment variable.
5.2. Unpacking the Source Code
1. Abstract
5.4. Installation
Prev
Home
Next