Commit 379a5d31 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: scripts/Makefile.build -- Add $deps-after variable to order deps creation

Since we generate some headers the deps creation may
need to be ordered, thus add deps-after variable
for this case.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Tested-by: 's avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 55412e0d
......@@ -5,6 +5,7 @@ MAKEFLAGS := -r -R --no-print-directory
targets :=
deps :=
deps-after :=
all-objs :=
incdeps :=
_all :=
......@@ -161,6 +162,9 @@ endif
##
## Include deps if requested
ifneq ($(incdeps),)
ifneq ($(deps-after),)
$(deps): | $(deps-after)
endif
-include $(deps)
endif
......
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