From 9de7d158bf55fc42cf4883077a4026428d77b08c Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 20 Sep 2016 12:15:20 +0200 Subject: [PATCH] compilation : show something for native products --- commands/compile.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/commands/compile.py b/commands/compile.py index ab4e674..dc54ce6 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -80,7 +80,6 @@ def get_products_list(options, cfg, logger): products_infos = src.product.get_products_infos(products, cfg) products_infos = [pi for pi in products_infos if not( - src.product.product_is_native(pi[1]) or src.product.product_is_fixed(pi[1]))] return products_infos @@ -290,13 +289,19 @@ def compile_all_products(sat, config, options, products_infos, logger): logger.write("\n", 4, False) logger.flush() - # Do nothing if he product is not compilable + # Do nothing if the product is not compilable if ("properties" in p_info and "compilation" in p_info.properties and p_info.properties.compilation == "no"): log_step(logger, header, "ignored") logger.write("\n", 3, False) continue + # Do nothing if the product is native + if src.product.product_is_native(p_info): + log_step(logger, header, "native") + logger.write("\n", 3, False) + continue + # Clean the build and the install directories # if the corresponding options was called if options.clean_all: -- 2.39.2