diff options
author | Juro Bystricky <jurobystricky@hotmail.com> | 2014-11-27 10:32:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 17:42:47 +0000 |
commit | 7f1bdc331304a61a4836a5752bca210450b6c5b5 (patch) | |
tree | 9ec5822ae1ba2198236c9377227c1214d5384951 /meta/classes/buildstats-summary.bbclass | |
parent | 9e4b25893cc8e15e390b8f25545416ef431f0b88 (diff) | |
download | openembedded-core-7f1bdc331304a61a4836a5752bca210450b6c5b5.tar.gz openembedded-core-7f1bdc331304a61a4836a5752bca210450b6c5b5.tar.bz2 openembedded-core-7f1bdc331304a61a4836a5752bca210450b6c5b5.zip |
eglibc: modified option-groups.h generation
option-groups.h only explicitely #defines options that are enabled.
EGLIBC options are typically pre-processed under the assumption that if
an option is not explicitely defined then it evaluates as 0.
This assumption is correct, but it generates a compiler warning
message each time an undefined symbol is being evaluated.
In order to remove the warnings, each EGLIBC option is now defined
as 1 if the option is enabled or as 0 otherwise.
The consequence is we cannot use #ifdef OPTION_XXX when evaluating
the option, we must always use #if OPTION_XXX.
[YOCTO #7001]
Signed-off-by: Juro Bystricky <jurobystricky@hotmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/buildstats-summary.bbclass')
0 files changed, 0 insertions, 0 deletions