Embedded Design Handbook

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

4.2.2.4.5. Makefiles and the Nios® II Software Build Tools for Eclipse

The Nios® II Software Build Tools for Eclipse create and manage the makefiles for Nios® II software projects. When you create a project, the Nios® II Software Build Tools create a makefile based on parameters and settings you select. When you modify parameters and settings, the Nios® II Software Build Tools update the makefile to match. BSP makefiles are based on the operating system, BSP settings, selected software packages, and selected drivers.

Nios® II BSP makefiles are handled differently from application and user library makefiles. Nios® II application and user library makefiles are based on source files that you specify directly. The following changes to an application or user library change the contents of the corresponding makefile:

  • Change the application or user library name
  • Add or remove source files
  • Specify a path to an associated BSP
  • Specify a path to an associated user library
  • Enable, disable or modify compiler options

For information about BSPs and makefiles, refer to “Makefiles and the Nios® II Software Build Tools for Eclipse” in the Getting Started with the Graphical User Interface chapter of the Nios® II Gen2 Software Developer's Handbook.