| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We have to use a custom dictionary to be able to set the "value" argument in
the exec() context.
|
| |
|
|
|
|
| |
Updates #4968
|
|
|
|
|
| |
If used with the format-and-define action, this will result in an
undefined define.
|
|
|
|
|
|
| |
Doing the enabled-by processing just for the ldflags and just for the
link custom commands is confusing. Use an option instead which is
intended to be used for such use cases.
|
|
|
|
|
|
| |
Revert duplicated listing of TEST_OPTIMIZATION_FLAGS.
Close #4947.
|
|
|
|
|
|
| |
This allows for conditionally setting 'ldflags' in scripts that use
`link_cc` and `link_cxx`. The immediate use case is allowing a linker
flag to be used only for MicroBlaze builds of certain tests.
|
| |
|
|
|
|
| |
This helps to make the build reproducible.
|
|
|
|
|
| |
Replace --rtems-version with a PROGRAM_PREFIX option. This allows also
the use of vendor tools.
|
|
|
|
|
|
|
|
|
|
| |
Define the RTEMS version in the wscript. Optionally use a VERSION file
to change the default values of the wscript. Allow the command line
option --rtems-version to override __RTEMS_MAJOR__. Remove support for
command line configurable options (--rtems-option).
Rename internal define RTEMS_VERSION_VC_KEY to
RTEMS_VERSION_CONTROL_KEY.
|
| |
|
|
|
|
|
| |
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
|
|
|
|
| |
This helps to identify issues in build items.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge the "default" and "default-by-variant" attributes. Use an
"enabled-by" expression to select the default value based on the enabled
set. This makes it possible to select default values depending on other
options. For example you could choose memory settings based on whether
RTEMS_SMP is enabled or disabled.
The change was tested by comparing the output of
./waf bspdefaults
before and after the change.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Allow separate optimization flags for the BSP, cpukit, and tests. For example,
the BSP and cpukit may be built without optimization if coverage
instrumentation is enabled, however, the tests may still use optimization.
Update #4670.
|
|
|
|
|
|
|
| |
Propagate the group defined cppflags, cflags, and cxxflags from parent groups
to child items through the build item context.
Update #4670.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The waf build system uses lists for tool flags. The build items may use
variable substitution. Add the ability to use the variable substitution in
lists. For example:
MORE_FLAGS = ['-more', '-flags']
flags:
- -some-flag
- ${MORE_FLAGS}
Before this change, the ${MORE_FLAGS} was substituted to "-more -flags". This
would be passed by waf as a single command line argument to the tool.
After this change, the ${MORE_FLAGS} list extends the flags list:
flags = ['-some-flag', '-more', '-flags']
This list extension is performed if a list element consists of exactly one
variable.
Update #4670.
|
|
|
|
|
|
| |
Allow upper case characters in identifiers.
Update #4670.
|
|
|
|
| |
The goal is to let the build items define as much as possible.
|
|
|
|
|
|
|
| |
Add cppflags, cflags, and cxxflags to BuildItemContext. This allows to
propagate the flags from parent items to child items.
Update #4670.
|
| |
|
|
|
|
|
|
|
| |
Start code for most platforms requires hand-coded ASM but some can be
bootstrapped entirely in C, especially for paravirtualized platforms.
This change allows start code to be written in C where possible instead
of requiring architecture-specific ASM to bridge to C.
|
|
|
|
|
|
|
|
| |
This expands the ability to substitute variables outside the current
limitation of values in options to asflags, cflags, cppflags, cxxflags,
ldflags, and includes. It is possible for all of these flags to utilize
user-defined information in config.ini, especially for paths to external
resources.
|
|
|
|
| |
Update #4548.
|
|
|
|
| |
Update #4548.
|
|
|
|
| |
Update #4548.
|
|
|
|
|
|
|
| |
Prefix the BSP family name with "bsps/" to make it distinct to the BSP
variant names.
Update #4468.
|
|
|
|
|
| |
The LDFLAGS are placed after the static libraries in the standard waf link
command, see "waflib/Tools/c.py" in the waf sources.
|
|
|
|
|
| |
BSP family and BSP variant names may be equal. This prefix avoids
ambiguity in the enabled-by expressions.
|
| |
|
|
|
|
|
| |
This makes it possible to use the BSP family in expressions of the enabled-by
attribute.
|
| |
|
|
|
|
| |
Update #4468.
|
|
|
|
| |
Update #4468.
|
|
|
|
|
|
|
| |
- Optionally add support for 'default-by-family' to allow
option to be set by a family and so all related BSPs
Close #4468
|
| |
|
|
|
|
|
| |
We use GCC to call the assembler. This means the assembler files are
processed by the C preprocessor.
|
| |
|
|
|
|
|
|
|
|
| |
The variety of expected test states are not currently applied to tests
with names containing '-' correctly due to a failure to replace '-' with
'_' before adding the CPPFLAGS to the environment for that test. This
ensures that all additions of CPPFLAGS have that replacement performed
so that the CPPFLAGS are applied properly during compilation.
|
|
|
|
|
|
| |
The "bsp_list" and "bsp_defaults" commands get a waflib.Context object
which has no build node. Use a hard coded build path for these
commands.
|
|
|
|
|
|
|
|
| |
This improves support for the --out option. Previously, the cache file
was placed in the source directory under "build/...". Now, it is placed
in the output directory, which is "build" by default. So, if you don't
use the --out option nothing changes. However, if you use the --out
option, then the cache file is placed under the specified directory.
|
|
|
|
| |
Check the directory modification time to notice file removals.
|
|
|
|
|
| |
The ctx.fatal() method uses an exception to stop the build. Do not
catch it.
|
|
|
|
| |
Update #3818.
|
|
|
|
| |
Update #3818.
|