[target/leon]: fix LD name
[openwrt/svn-archive/archive.git] / target / linux / leon / patches / 002-sparc_uimage_target.patch
index d7f2c9f89526424d4fd8f719570fcca7cf37c2fa..6e25ff27d7bb4b8346b531dde4a2d5b1f7620863 100644 (file)
@@ -73,7 +73,7 @@ Subject: [PATCH] SPARC: added U-Boot build target: uImage
 +targets += uImage
 +$(obj)/uImage: $(obj)/image.gz
 +      $(call if_changed,uimage)
-+      sparc-linux-ld -Tdata $(UIMAGE_FLASHADDR) -r -b binary arch/sparc/boot/uImage -o arch/sparc/boot/uImage.o
++      $(LD) -Tdata $(UIMAGE_FLASHADDR) -r -b binary arch/sparc/boot/uImage -o arch/sparc/boot/uImage.o
 +      @echo '  Image $@ is ready'
 +
 +endif