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

login
register
mail settings
Submitter matt mooney
Date Sept. 23, 2010, 6:51 a.m.
Message ID <1285224686-29967-1-git-send-email-mfm@muteddisk.com>
Download mbox | patch
Permalink /patch/65505/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

matt mooney - Sept. 23, 2010, 6:51 a.m.
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(-)

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 $@