mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cadbbb6e95
Adding this macro in the definition of a macro causes a warning about the deprecation to be emitted when used (and a build failure with `WERROR=1`). This is useful as no other means to deprecate preprocessor macros are provided. The macro will be defined empty for compilers that are not GCC or clang. |
||
---|---|---|
.. | ||
genconfigheader.sh | ||
README.md | ||
riotbuild-prefix.h.in |
genconfigheader.sh
Usage: genconfigheader.sh <output_header_file> [CFLAGS]
Generate a build configuration header from CFLAGS arguments
- Arguments on the form
-Dmacro_name=macro_value
will be converted to the form#define macro_name macro_value
- Arguments given on the form
-Dmacro_name
will be converted to the form#define macro_name 1
- The output file will be overwritten if it already exists and the new output file's contents differs from the old file.
By not replacing the output file on every run, make can still use the file modification times for dependency calculations.