hsk-libs-scripts  270
High Speed Karlsruhe XC878 build scripts
sdcc.sh File Reference

Parses an sdcc config file. More...

Detailed Description

Parses an sdcc config file.

Parameters
*All arguments are treted as config files

Expects CC in the environment. If CC does not refer to a version of SDCC, the script terminates with empty output.

Configuration files contain make code and have sections, the first section is unconditional and thus always printed. The following sections are opened with a condition. Conditions stand in a single line using the following syntax:

        "[" condition "]"

The string "SDCC" within the condition is replaced with the version of SDCC. The condition is then passed to the testver.sh script.