ChorusOS 4.0 Migration Guide

Chapter 5 ChorusOS 4.0 Build Tool Changes

This chapter lists the changes and new features to the ChorusOS 4.0 build tools.

5.1 New Build Tools

Included as part of Sun Embedded Workshop is a new graphical configuration tool called ews. This tool provides a user-friendly interface for configuring the operating system and shows the dependencies between components. A command-line interface for configuration, called configurator, is also available. See "Configuration Tools" in ChorusOS 4.0 Introduction, ChorusOS 4.0 Production Guide and the ews(1CC) and configurator(1CC) man pages for more information.

The mkconfig, mkenv and mktune commands, included in ChorusOS 3.2, are no longer provided. Any scripts using these commands must be adapted to use the configurator command.

5.2 System Configuration Files

System configuration information is no longer held in a single file, called config, as it was in the ChorusOS 3.2 operating system. In the ChorusOS 4.0 operating system, configuration information is spread across several files within the conf directory of the ChorusOS build directory. As a result, you must copy the entire conf directory to transfer the configuration of one system image build directory to another.

See "Configuration Files" in ChorusOS 4.0 Introduction for a breakdown of the files within the conf directory.

5.3 imake Build Rules

New imake build rules are provided with the ChorusOS 4.0 operating system as a single file called Imake.rules. If you wish to use the imake build rules of the ChorusOS 3.2 operating system, integrate the Imake32.rules file with your Project.tmpl file.

See "Developing Applications" in ChorusOS 4.0 Introduction for more information about imake build rules.