mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dist/Kconfiglib: fix autoconf header
This commit fixes the generation of autoconf headers. The `write_autoconf` function in the RIOT wrapper was overriding the default value of the `header` arg to None in Kconfiglib's `write_autoconf`. It's now set to the default header.
This commit is contained in:
parent
9954ac8166
commit
43b992c09b
2
dist/tools/kconfiglib/riot_kconfig.py
vendored
2
dist/tools/kconfiglib/riot_kconfig.py
vendored
@ -18,7 +18,7 @@ class RiotKconfig(Kconfig):
|
||||
for marker in doxygen_markers:
|
||||
node.help = node.help.replace(marker, "")
|
||||
|
||||
def write_autoconf(self, filename=None, header=None):
|
||||
def write_autoconf(self, filename=None, header="/* RIOT Configuration File */\n"):
|
||||
""" Override to convert - to _ when writing autoconf.h """
|
||||
tmp_unique_defined_syms = self.unique_defined_syms.copy()
|
||||
for sym in self.unique_defined_syms:
|
||||
|
Loading…
Reference in New Issue
Block a user