From 1b79f8510362da33c09f6e2c18740dce2cd24e5c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 17 Sep 2020 13:46:33 +0200 Subject: configurable Kconfig filename and randconfig command now also works with busybox --- bin/explore-kconfig.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'bin') diff --git a/bin/explore-kconfig.py b/bin/explore-kconfig.py index 4c08826..e59db17 100755 --- a/bin/explore-kconfig.py +++ b/bin/explore-kconfig.py @@ -56,6 +56,15 @@ def main(): help="Attribute extraction command", default="make attributes", ) + parser.add_argument( + "--randconfig-command", + type=str, + help="Randconfig command for --random", + default="make randconfig", + ) + parser.add_argument( + "--kconfig-file", type=str, help="Kconfig file", default="Kconfig" + ) parser.add_argument("project_root", type=str, help="Project root directory") args = parser.parse_args() @@ -73,6 +82,10 @@ def main(): kconf.build_command = args.build_command if args.attribute_command: kconf.attribute_command = args.attribute_command + if args.randconfig_command: + kconf.randconfig_command = args.randconfig_command + if args.kconfig_file: + kconf.kconfig = args.kconfig_file if args.random: for i in range(args.random): -- cgit v1.2.3