Skip to contentSkip to conversation

sparc: change to new flag variable

PATCH Applied matt mooney 1 participant 1 message Sep 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 15/20 sparc: change to new flag variable

Replace EXTRA_LDFLAGS with ldflags-y.

---
 arch/sparc/boot/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/boot/Makefile +1 -1
index 97e3feb..9a22b4a 100644
@@ -21,7 +21,7 @@ quiet_cmd_btfix		= BTFIX   $@
 quiet_cmd_sysmap        = SYSMAP  $(obj)/System.map
       cmd_sysmap        = $(CONFIG_SHELL) $(srctree)/scripts/mksysmap
 quiet_cmd_image = LD      $@
-      cmd_image = $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LDFLAGS_$(@F)) -o $@
+      cmd_image = $(LD) $(LDFLAGS) $(ldflags-y) $(LDFLAGS_$(@F)) -o $@
 quiet_cmd_strip = STRIP   $@
       cmd_strip = $(STRIP) -R .comment -R .note -K sun4u_init -K _end -K _start $(obj)/image -o $@
 
Signature · 1 line
1.7.2.1