doc/develop/codingstyle.rst: Add a section on conditional compilation
authorTom Rini <trini@konsulko.com>
Tue, 1 Apr 2025 22:55:24 +0000 (16:55 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Apr 2025 18:16:44 +0000 (12:16 -0600)
commit0471f8d0012ff9794014d222151acb65ce387550
treedb2512bc07b279b4ce3b92bce1daa959cdb57e9a
parent302b41d5397e9f821d360a74335e8821d4513970
doc/develop/codingstyle.rst: Add a section on conditional compilation

In order to make a start on explaining how and when to use certain
macros, we need to document their usage somewhere. As a first step, take
section 21 of the v6.13 Linux Kernel coding-style document on
conditional compilation, verbatim, and add it to our documentation.
Further rewording to be clearer about U-Boot will be done next.

Signed-off-by: Tom Rini <trini@konsulko.com>
doc/develop/codingstyle.rst