Nios® II Software Developer Handbook

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

16.5.2.52. set_ignore_file

Usage

set_ignore_file <software_component_name> <file_name> <ignore>

Options

  • <software_component_name>: Name of the driver, software package, or operating system to which the file belongs.
  • <file_name>: Name of the file.
  • <ignore>: Set to true to ignore (not generate or copy) the file, false to generate or copy the file normally.

Description

You can use this command to have a specific BSP file ignored (not generated or copied) during BSP generation. This command allows you to take ownership of a specific file, modify it, and prevent the SBT from overwriting your modifications.

<software_component_name> can have one of the following values:

  • <driver_name>—The name of a driver, as specified with the create_driver command in the *_sw.tcl file that defines the driver. Specifies that <file_name> is a copied file associated with a device driver.
  • <software_package_name>—The name of a software package, specified with the create_sw_package command in the *_sw.tcl file that defines the package. Specifies that <file_name> is a copied file associated with a software package.
  • <OS_name>—The name of an OS, specified with the create_os command in the *_sw.tcl file that defines the OS, and is used in the nios2-bsp-create-settings to specify the BSP type. Specifies that <file_name> is a copied file associated with an OS.
  • generated—Specifies that <file_name> is a generated top-level BSP file. The list of generated BSP files depends on the BSP type.
Note: For a list of generated files associated with a third-party OS, refer to the OS supplier's documentation.