Nios® II Software Developer Handbook

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

5.2.1. Modifying Makefiles

It is not necessary to edit makefiles by hand. The Nios® II SBT for Eclipse offers GUI tools for makefile management.

For more information, refer to the Getting Started with the Graphical User Interface section.

Table 16.  Command-Line Utilities for Updating Makefiles
Project Type Utilities
Application nios2-app-update-makefile
Library nios2-lib-update-makefile
BSP3 nios2-bsp-update-settings

nios2-bsp-generate-files

Note: After making changes to a makefile, run make clean before rebuilding your project. If you are using the Nios® II SBT for Eclipse, this happens automatically.
3 For more information about updating BSP makefiles, refer to “Updating Your BSP” on page 4–30 .