Specifications
hal.make.bsp_arflags
• Identifier: BSP_ARFLAGS
• Type: Unquoted string
• Default Value: -src
• Destination File: BSP makefile
• Description: Custom flags only passed to the archiver. This content of this variable is directly passed
to the archiver rather than the more standard ARFLAGS. The reason for this is that GNU Make
assumes some default content in ARFLAGS.This setting defines the value of BSP_ARFLAGS in
Makefile.
• Restriction: none
hal.make.bsp_asflags
• Identifier: BSP_ASFLAGS
• Type: Unquoted string
• Default Value: -Wa,-gdwarf2
• Destination File: BSP makefile
• Description: Custom flags only passed to the assembler. This setting defines the value of
BSP_ASFLAGS in Makefile.
• Restriction: none
hal.make.bsp_cflags_debug
• Identifier: BSP_CFLAGS_DEBUG
• Type: Unquoted string
• Default Value: -g
• Destination File: BSP makefile
• Description: C/C++ compiler debug level. -g provides the default set of debug symbols typically
required to debug a typical application. Omitting -g removes debug symbols from the .elf file. This
setting defines the value of BSP_CFLAGS_DEBUG in Makefile.
• Restriction: none
hal.make.bsp_cflags_defined_symbols
• Identifier: BSP_CFLAGS_DEFINED_SYMBOLS
• Type: Unquoted string
• Default Value: none
• Destination File: BSP makefile
• Description: Preprocessor macros to define. A macro definition in this setting has the same effect as a
#define in source code. Adding -DALT_DEBUG to this setting has the same effect as #define
ALT_DEBUG in a source file. Adding -DFOO=1 to this setting is equivalent to the macro #define FOO 1
in a source file. Macros defined with this setting are applied to all .S, C source (.c), and C++ files in the
BSP. This setting defines the value of BSP_CFLAGS_DEFINED_SYMBOLS in the BSP makefile.
• Restriction: none
15-50
Settings Reference
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback