Skip to content
Snippets Groups Projects
Commit e5a25825 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

add randconfig target

parent 9e5ec3fb
No related branches found
Tags 1.17.1
No related merge requests found
...@@ -332,7 +332,7 @@ config: Kconfig ...@@ -332,7 +332,7 @@ config: Kconfig
${QUIET}kconfig-qconf Kconfig ${QUIET}kconfig-qconf Kconfig
randconfig: Kconfig randconfig: Kconfig
${QUIET}kconfig-conf --randconfig Kconfig ${QUIET}script/randconfig
clean: arch_clean clean: arch_clean
rm -f build/system.elf rm -f build/system.elf
......
#!/bin/sh
# randconfig occasionally generates invalid configs which lack an application.
# Try generating a valid config up to ten times.
for i in $(seq 1 10); do
kconfig-conf --randconfig Kconfig
if grep -F -q CONFIG_app= .config; then
exit 0
fi
done
exit 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment