3 Adding a new Platform to the SCons distribution:
5 -- Add the following files (aenf):
7 src/engine/SCons/Platform/xxx.py
9 Use one of the other Platform files as a template.
11 The tool_list() function should return the list of tools
12 that will be available through the default construction
15 The generate() function should set construction variables:
29 -- Modify the following files (aecp):
33 Add the new platform to the example of the platform
34 keyword when instantiating an Environment.
36 Add the list of default tools returned by tool_list()
41 Add to the list at the bottom of the file:
43 /usr/lib/scons/SCons/Platform/xxx.py
44 /usr/lib/scons/SCons/Platform/xxx.pyc
46 [THIS LIST SHOULD BE GENERATED FROM MANIFEST.in,
47 AND WILL BE SOME DAY.]
51 Add mention of the new Platform specification.
53 src/engine/MANIFEST.in
59 src/engine/SCons/Platform/Platform/PlatformTests.py
61 Copy and paste one of the other platform tests to verify
62 the ability to initialize an environment through a call
63 to the object returned by Platform('xxx')
65 src/engine/SCons/Platform/__init__.py
67 Add logic to platform_default() (if necessary) to return
68 the appropriate platform string.
72 Add the new platform to the SConstruct and SConscript
73 files. Add the expected output to the "expect"