summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/zmake/zmake/__main__.py')
-rw-r--r--zephyr/zmake/zmake/__main__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/zmake/zmake/__main__.py b/zephyr/zmake/zmake/__main__.py
index c438560a3e..c5f725a7a5 100644
--- a/zephyr/zmake/zmake/__main__.py
+++ b/zephyr/zmake/zmake/__main__.py
@@ -353,6 +353,15 @@ def main(argv=None):
logging.basicConfig(format=log_format, level=opts.log_level)
+ if opts.subcommand == "configure" and opts.build_after_configure:
+ logging.warning(
+ '"zmake configure -b/--build" is deprecated. Run "zmake build" instead.'
+ )
+ if opts.subcommand == "configure" and opts.test_after_configure:
+ logging.warning(
+ '"zmake configure --test" is deprecated. Run "zmake test" instead.'
+ )
+
try:
zmake = call_with_namespace(zm.Zmake, opts)
subcommand_method = getattr(zmake, opts.subcommand.replace("-", "_"))