diff mbox

[15/20] sparc: change to new flag variable

Message ID 1285224686-29967-1-git-send-email-mfm@muteddisk.com
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

matt mooney Sept. 23, 2010, 6:51 a.m. UTC
Replace EXTRA_LDFLAGS with ldflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 arch/sparc/boot/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile
index 97e3feb..9a22b4a 100644
--- a/arch/sparc/boot/Makefile
+++ b/arch/sparc/boot/Makefile
@@ -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 $@