mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
nmk: Gather reserved vars on top of build
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
6ed2532b36
commit
d3b4fbc2ac
@ -6,17 +6,25 @@ ifndef ____nmk_defined__build
|
|||||||
src := $(obj)
|
src := $(obj)
|
||||||
src-makefile := $(call objectify,$(makefile))
|
src-makefile := $(call objectify,$(makefile))
|
||||||
obj-y :=
|
obj-y :=
|
||||||
|
obj-e :=
|
||||||
|
builtin-name :=
|
||||||
|
builtin-target :=
|
||||||
lib-y :=
|
lib-y :=
|
||||||
|
lib-e :=
|
||||||
|
lib-name :=
|
||||||
|
lib-target :=
|
||||||
|
hostprogs-y :=
|
||||||
|
libso-y :=
|
||||||
|
ld_flags :=
|
||||||
|
ldflags-so :=
|
||||||
|
arflags-y :=
|
||||||
target :=
|
target :=
|
||||||
deps-y :=
|
deps-y :=
|
||||||
all-y :=
|
all-y :=
|
||||||
builtin-name :=
|
|
||||||
lib-name :=
|
|
||||||
ld_flags :=
|
|
||||||
cleanup-y :=
|
cleanup-y :=
|
||||||
mrproper-y :=
|
mrproper-y :=
|
||||||
|
target :=
|
||||||
objdirs :=
|
objdirs :=
|
||||||
libso-y :=
|
|
||||||
|
|
||||||
MAKECMDGOALS := $(call uniq,$(MAKECMDGOALS))
|
MAKECMDGOALS := $(call uniq,$(MAKECMDGOALS))
|
||||||
|
|
||||||
@ -112,7 +120,6 @@ $(eval $(call gen-cc-rules,$(obj)/%,$(obj)/%))
|
|||||||
#
|
#
|
||||||
# Prepare targets.
|
# Prepare targets.
|
||||||
ifneq ($(lib-y),)
|
ifneq ($(lib-y),)
|
||||||
lib-target :=
|
|
||||||
ifneq ($(lib-name),)
|
ifneq ($(lib-name),)
|
||||||
lib-target := $(obj)/$(lib-name)
|
lib-target := $(obj)/$(lib-name)
|
||||||
else
|
else
|
||||||
@ -125,7 +132,6 @@ ifneq ($(lib-y),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(obj-y),)
|
ifneq ($(obj-y),)
|
||||||
builtin-target :=
|
|
||||||
ifneq ($(builtin-name),)
|
ifneq ($(builtin-name),)
|
||||||
builtin-target := $(obj)/$(builtin-name)
|
builtin-target := $(obj)/$(builtin-name)
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user