ulfalizer / Kconfiglib

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

Add include guards in generated config header file #95

Open croemheld opened 4 years ago

croemheld commented 4 years ago

Would it be possible to add include guards in the generated config.h? It would be good to add them directly or provide an additional argument for menuconfig which adds include guards in the format _<PROJECT>_CONFIG_H (as used in the linux kernel) or even customize the include guard for any project.

I for example use include guards in my project in the format __<PROJECT>_<FILE>_H__.

Could this feature be added to this project?