Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

15.4. Application and User Library Makefile Variables

The Nios II SBT constructs application and makefile libraries for you, inserting makefile variables appropriate to your project configuration. You can control project build characteristics by manipulating makefile variables at the time of project generation. You control a variable with the --set command line option, as in the following example:
nios2-bsp hal my_bsp --set APP_CFLAGS_WARNINGS "-Wall"r

The following utilities and scripts support modifying makefile variables with the --set option:

  • nios2-app-generate-makefile
  • nios2-lib-generate-makefile
  • nios2-app-update-makefile
  • nios2-lib-update-makefile
  • nios2-bsp