From 2dfcc8042aec2303730b16be09f4f81b507d9b90 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 24 Apr 2017 13:56:14 +0000 Subject: [PATCH] build.py: Make --ignore-deps respect build order Signed-off-by: Jan Lindemann --- scripts/build.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build.py b/scripts/build.py index 185db08b..130e1ce9 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -153,10 +153,9 @@ if len(env_exclude): if target != 'order': print("calculating order for modules: " + ' '.join(modules)) order = [] +calculate_order(order, modules, glob_prereq_type) if args.ignore_deps: - order = args.modules -else: - calculate_order(order, modules, glob_prereq_type) + order = [m for m in order if m in args.modules] order = [m for m in order if m not in exclude] if target == 'order': print(' '.join(order))