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

18 Commits

Author SHA1 Message Date
Leandro Lanzieri
aa97392cad
dist/tools/kconfiglib: avoid rewriting /dev/null 2022-03-28 10:15:10 +02:00
Leandro Lanzieri
b7bf1e2bd7
dist/tools/genconfig: add error on hidden symbols
This extends the error messages to check if a symbol could not be set
due to its visibility.
2022-02-01 10:35:10 +01:00
Jose Alamos
43b992c09b
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.
2021-06-16 14:06:47 +02:00
MrKevinWeiss
450b70e345 tools/kconfiglib: Allow for - in symbols 2021-04-08 16:44:10 +02:00
Leandro Lanzieri
ddf78bae22
dist/tools/kconfig/genconfig: fix printing of range condition 2020-12-09 11:11:17 +01:00
Leandro Lanzieri
71a3aa081e
dist/tools/genconfig: check the APPLICATION symbols only when testing
This changes the Kconfig check to only perform it when testing Kconfig
dependency modlling for now (TEST_KCONFIG=1).
2020-11-06 15:58:02 +01:00
Leandro Lanzieri
1408f3f96e
dist/tools/kconfiglib: add tests for genconfig.py
Also add the test to 'python-tests' GitHub actions.
2020-11-05 09:04:10 +01:00
Leandro Lanzieri
e815863aa9
tools/genconfig: add invalid configurations checks 2020-11-05 09:04:07 +01:00
Leandro Lanzieri
8c79c18ce0
tools/genconfig: generate empty recipes in dependency file 2020-09-04 10:39:37 +02:00
Leandro Lanzieri
9c10580ba4
dist/tools/kconfiglib: introduce own genconfig.py tool
This tool unifies multiple functionalities needed by the Kconfig
integration into one tool.
2020-08-07 18:17:37 +02:00
Leandro Lanzieri
f6b6072398
dist/tools/kconfiglib: Use python3 for RIOT adaption of menuconfig 2020-07-08 14:40:06 +02:00
Benjamin Valentin
11fa839abb kconfiglib: bump to v14.1.0
The latest upstream version uses Python3 instead of Python2.
2020-06-30 17:32:42 +02:00
a0b042cdd4
dist/tools: adapt tools that are built using pkg.mk 2020-06-26 09:25:45 +02:00
Leandro Lanzieri
5ba7ef6d6f
dist/tools/kconfiglib: Add remove command to delete files
The 'remove' target removes the downloaded files from the tool.
2020-06-04 15:31:40 +02:00
Leandro Lanzieri
8023aa3d47
dist/tools/kconfiglib: Add riot_kconfig to override default behaviours
This also patches menuconfig.py to use the new class. For now it
implements a version of _parse_help which removes Doxygen markers.
2020-04-27 12:29:40 +02:00
Gaëtan Harter
f08116f3ce dist/tools/*: adapt to new state file targets
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
Sebastian Meiling
80d86b42ee tools/kconfig: replace GNU cp -t with UNIX cp
UNIX `cp` command does not have the `-t` option like its GNU variant.
Hence, it usage breaks building RIOT e.g. on FreeBSD.
2019-12-05 09:12:33 +01:00
Leandro Lanzieri
b642f2ea23 dist/tools: Add kconfiglib
Kconfiglib is a Kconfig implementation in Python 2/3.
See https://github.com/ulfalizer/Kconfiglib
2019-11-19 17:46:38 +01:00