mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-26 11:35:33 +00:00
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: Cyrill Gorcunov <gorcunov@openvz.org> Tested-by: Andrew Vagin <avagin@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
55412e0d16
commit
379a5d311d
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue