summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-09-10 14:46:55 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-09-10 14:46:55 +0200
commit7dca551bb022951b1fce69d482ed3daa8f5729f6 (patch)
tree4c3a36cf92c19a0d4187323153996c11279b8485
parent3ac5a3734a0903bd52c53ee14cf758b92c8bd86d (diff)
explore-kconfig: add documentation
-rwxr-xr-xbin/explore-kconfig.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/explore-kconfig.py b/bin/explore-kconfig.py
index 8887ef1..4c08826 100755
--- a/bin/explore-kconfig.py
+++ b/bin/explore-kconfig.py
@@ -1,5 +1,17 @@
#!/usr/bin/env python3
+"""explore-kconfig - Obtain build attributes of configuration variants
+
+explore-kconfig obtains build attributes such as ROM or RAM usage of
+configuration variants for a given software project. It works on random
+random configurations (--random) or in the neighbourhood
+of existing configurations (--neighbourhood).
+
+Supported projects must be configurable via kconfig and provide a command which
+outputs a JSON dict of build attributes on stdout. Use
+--{clean,build,attribute}-command to configure explore-kconfig for a project.
+"""
+
import argparse
import logging
import os