Setting or Clearing a Sysgen Variable (Compact 2013)

3/26/2014

After you create an OS design or open an existing OS design, you can configure the functionality in your OS design from a command-line prompt build window by setting or clearing Sysgen variables.

Items in the catalog can correspond to a single Sysgen variable, although some items, by design, do not have an associated Sysgen variable. To add a selected item to your OS design, you set a Sysgen variable. To remove the item, you clear the corresponding Sysgen variable. Also, during the build process, Platform Builder might further configure the functionality included in your OS design by bringing in other items that are required for items in your OS design to function.

This additional configuration is because the Sysgen variable associated with the catalog item might depend on other Sysgen variables in order to function, which is a relationship called a dependency. Many dependencies are typically contained in Cesysgen.bat. For more information, see Cesysgen Batch File (Cesysgen.bat).

To set a Sysgen variable

  • In a command prompt build window or a batch file, type the following command:

    set <sysgen variable>=1
    blddemo clean –q
    

To clear a Sysgen variable

  • In a command prompt build window or a batch file, type the following command:

    Note

    Ensure that you do not enter a character or space after the equal sign.

    set <sysgen variable>=
    blddemo clean –q
    

See Also

Concepts

Build an OS