1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #16561 from jia200x/pr/fix_kconfig_header

dist/Kconfiglib: fix autoconf header
This commit is contained in:
José Alamos 2021-06-16 16:10:40 +02:00 committed by GitHub
commit 72eac2454a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: