Specifications
SRPMS Fedora 7 sources
Then you may switch to a specific release of the ELDK using the "git-checkout" command; for example, to
get the files for ELDK release 4.1, please do the following from the module directory:
git-checkout ELDK_4_2
It must be noted that some of the packages which are included in the ELDK are not included in Fedora.
Examples of such packages are appWeb, microwindows, and wu-ftpd. For these packages tarballs are
provided in the DENX GIT repository.
To facilitate building of the ELDK, a build infrastructure has been developed. The infrastructure is composed
of the following components:
ELDK_BUILD script•
build.sh script•
cpkgs.lst file•
tpkgs.lst file•
SRPMS.lst file•
tarballs.lst file•
The ELDK_BUILD script is the main script of the ELDK build procedure. It is the tool that you would
normally use to build the ELDK from scratch. In the simplest case, the script may be invoked without
arguments, and it will perform all necessary steps to build the ELDK in a fully automated way. You may pass
the following optional arguments to the ELDK_BUILD script:
-a <arch> target architecture: "arm", "ppc" or "ppc64", defaults to "ppc".
-n <build_name>
an identification string for the build. Defaults to the value based on the build
architecture and current date, and has the following format: <arch>-YYYY-MM-DD
-v <version> ELDK version string
-u
build the uClibc-based ELDK version (on the platforms and versions where this is
available).
-p <builddir>
Optional build directory. By default, build will place the work files and results in the
current directory.
Warning: The ELDK build scripts rely on standard behaviour of the RPM tool. Make sure you don't use
non-standard settings in your personal ~/.rpmmacros file that might cause conflicts.
build.sh is a supplementary script that is called by ELDK_BUILD to accomplish certain steps of the build.
Refer to section 3.10.3. build.sh Usage below for more details.
The cpkgs.lst and tpkgs.lst files are read by build.sh and must contain lines describing sub-steps of the eldt
and trg build procedure steps. Essentially, the files contain the list of the ELDT and target packages to be
included in the ELDK. The SRPMS.lst file contains the list of the Fedora source RPM packages used during
the ELDK build. The tarballs.lst file contains the list of source tarballs of the packages that are included in the
ELDK but are not present in Fedora 7.
For the ELDK_BUILD script to work correctly, it must be invoked from a certain build environment created
on the host system. The build environment can be either checked out from the DENX GIT repository (see
section 3.10.2. Setting Up ELDK Build Environment below for details) or copied from the ELDK build
environment CD-ROM.
To be more specific, the following diagram outlines the build environment needed for correct operation of the
ELDK_BUILD script:
3.10.1. ELDK Build Process Overview 26