Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

While the paths to the compiler or directories containing headers and libraries may need to be changed, there are other variable definitions that are required by the build steps. 



Manually overriding SConstruct variables

Info

Certain variables, such as target can be specified on the scons command line. By default, scons prints a help message containing a list of all the variables and their default values. Some variables are used internally as part of the Dust build and release process.

No Format
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
default(["default"], [])

To build the AP Bridge software:

 $ scons apbridge                      # build the AP Bridge for i386
 $ scons apbridge target=armpi         # build the AP Bridge for Raspberry Pi

 $ scons apbridge_pkg                  # Create AP Bridge package for i386
 $ scons apbridge_pkg target=armpi     # Create AP Bridge package for Raspbery Pi

For internal use, to build an AP Bridge release:

 $ scons apbridge_release

Options for building:

debug: Build with debug symbols
    default: True
    actual: True

opt: Build with optimization
    default: False
    actual: False
...