Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

5.11.3.2. Nios® II Software Build Tools

The Nios® II SBT utilities and scripts provide the functionality underlying the Nios® II SBT for Eclipse. You can create, modify, and build Nios® II programs with commands typed at a command line or embedded in a script.

You can call these utilities and scripts on the command line or from the scripting language of your choice (such as perl or bash).

Note: For usage information, enter "--help" after the command and a list of required and optional arguments for the command appears.
Table 27.  Utilities and Scripts Included in the Nios® II SBT
Command Summary Utility Script
nios2-app-generate-makefile Creates an application makefile x  
nios2-lib-generate-makefile Creates a user library makefile x  
nios2-app-update-makefile Modifies an existing application makefile x  
nios2-lib-update-makefile Modifies an existing user library makefile x  
nios2-bsp-create-settings Creates a BSP settings file x  
nios2-bsp-update-settings Updates the contents of a BSP settings file x  
nios2-bsp-query-settings Queries the contents of a BSP settings file x  
nios2-bsp-generate-files Generates all files for a given BSP settings file x  
nios2-bsp Creates or updates a BSP   x

The Nios® II SBT utilities reside in the < Nios® II EDS install path>/sdk2/bin directory.

For more information about the Nios® II SBT, refer to the "Getting Started from the Command Line" chapter.