ulfalizer / Kconfiglib

A flexible Python 2/3 Kconfig implementation and library
ISC License
448 stars 160 forks source link

Support printing negatives in Kconfig.write_autoconf() #100

Closed jackrosenthal closed 2 years ago

jackrosenthal commented 3 years ago

Some forks of the C implementation of Kconfig (notably, used in coreboot and depthcharge) offer an option to include false values defined to zero in generated header files.

This adds support for an equivalent feature to Kconfiglib, so it can be made use of in those codebases.

jackrosenthal commented 3 years ago

@ulfalizer can you review?