Commit cb32e353 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

nmk: build.mk -- Fix deps for target mode

Don't forget to call objectify.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent cd5f7df5
...@@ -197,7 +197,7 @@ define collect-deps ...@@ -197,7 +197,7 @@ define collect-deps
ifneq ($(filter all $(all-y) $(target),$(1)),) ifneq ($(filter all $(all-y) $(target),$(1)),)
deps-y += $(obj-y:.o=.d) deps-y += $(obj-y:.o=.d)
deps-y += $(lib-y:.o=.d) deps-y += $(lib-y:.o=.d)
deps-y += $(foreach t,$(target),$($(t)-lib-y:.o=.d) $($(t)-obj-y:.o=.d)) deps-y += $(foreach t,$(target),$(call objectify,$($(t)-lib-y:.o=.d)) $(call objectify,$($(t)-obj-y:.o=.d)))
endif endif
endef endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment