Guarding code with #ifdef's makes even cursor testing of 'does this code compile' difficult due to code being hidden by the pre-processor. Using config_set in regular C if statements is performant as the compiler can trivially detect dead code at compile time, and at -O1 and above will not even link in symbols referenced by dead code in these blocks, so this will not bloat image size |
||
|---|---|---|
| .. | ||
| arch_include | ||
| include | ||
| src | ||
| tools | ||
| Kbuild | ||
| Kconfig | ||
| Makefile | ||