User guide
Nios II IDE Help System
This file is located in the build directory of the altera_hal component.
generated_app.mk
The file generated_app.mk is generated from the contents of the SOPC Builder system
and .stf files, and is stored in the system library project. The rule used to generate
generated_app.mk is defined in gtf_rules.mk.
This file defines all of the rules that are to be run as a part of the build process after the
.elf file has been created, for example the rules to build flash programming files.
common.mk
This file defines some useful define statements common to both system library and
application projects. It redefines the SOPC_KIT_NIOS2 environment variable so that it is
defined with a UNIX rather than DOS path as required by the GNU tool chain. It also
supplies the location of the .stf file to use.
This file is located in the build directory of the altera_hal component.
component.mk
Each component supplies a makefile fragment named component.mk within the
component's HAL/src directory. This fragment defines a list of the source files that are to
be built into the system library. In addition it optionally defines any additional rules and/or
make variables that are required for the component to be integrated into the build
process. See the description of component.mk in the Nios II Software Developer's
Handbook.
gnu_rules.mk
This file defines the rules for the GNU tools that are used for compiling, archiving, linking,
and generating the objdump file. It is located in the build directory of the
altera_halcomponent.
gtf_rules.mk
This file defines the rules for generating files which are dependent on the .stf and SOPC
Builder system, i.e. generated_app.mk, generated_all.mk, generated.sh,
generated.x, alt_sys_init.c and system.h. It is located in the build directory of the
altera_halcomponent.
Related Topics on the Web
Nios II literature web page
36