mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
nmk: Filter out already seen targets from collect-deps
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
faa8bae6f2
commit
6ed2532b36
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ define collect-deps
|
|||
ifeq ($(lib-target),$(1))
|
||||
deps-y += $(lib-y:.o=.d)
|
||||
endif
|
||||
ifneq ($(filter all $(all-y) $(hostprogs-y),$(1)),)
|
||||
ifneq ($(filter all $(filter-out $(builtin-target) $(lib-target), $(all-y)) $(hostprogs-y),$(1)),)
|
||||
deps-y += $(obj-y:.o=.d)
|
||||
deps-y += $(lib-y:.o=.d)
|
||||
deps-y += $(foreach t,$(target),$(call objectify,$($(t)-lib-y:.o=.d)) $(call objectify,$($(t)-obj-y:.o=.d)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue