[CRIU] [PATCH 04/10] nmk: build.mk -- Fix deps for target mode
Cyrill Gorcunov
gorcunov at openvz.org
Tue Mar 22 12:15:30 PDT 2016
From: Cyrill Gorcunov <gorcunov at gmail.com>
Don't forget to call objectify.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
scripts/nmk/scripts/build.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/nmk/scripts/build.mk b/scripts/nmk/scripts/build.mk
index db0f7cd8581f..f2864babe9d9 100644
--- a/scripts/nmk/scripts/build.mk
+++ b/scripts/nmk/scripts/build.mk
@@ -196,7 +196,7 @@ define collect-deps
ifneq ($(filter all $(all-y) $(target),$(1)),)
deps-y += $(obj-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
endef
--
2.5.0
More information about the CRIU
mailing list