Commit efe35aa3 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov

build/nmk: rename $@-ldflags-y to LDFLAGS_$@

That will complement existing CFLAGS_ and ASFLAGS_.
As no one use it yet (I will use it, do not remove) - no need
for convert-everything patch.

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 2cb4532e
...@@ -105,7 +105,7 @@ define gen-custom-target-rule ...@@ -105,7 +105,7 @@ define gen-custom-target-rule
ifneq ($($(1)-obj-y),) ifneq ($($(1)-obj-y),)
$(eval $(call gen-ld-target-rule, \ $(eval $(call gen-ld-target-rule, \
$(obj)/$(1).built-in.o, \ $(obj)/$(1).built-in.o, \
$(ld_flags) $($(1)-ldflags-y), \ $(ld_flags) $(LDFLAGS_$(1)), \
$(call objectify,$($(1)-obj-y)), \ $(call objectify,$($(1)-obj-y)), \
$(call objectify,$($(1)-obj-y)) \ $(call objectify,$($(1)-obj-y)) \
$(call objectify,$($(1)-obj-e)))) $(call objectify,$($(1)-obj-e))))
......
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