yann@1241: Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch yann@1241: yann@1241: -= BEGIN original header =- yann@475: Fix ld scripts path, copied from buildroot. yann@475: yann@475: binutils-2.18.50.0.6/ld/Makefile.am | 2 1 1 0 +- yann@475: binutils-2.18.50.0.6/ld/Makefile.in | 2 1 1 0 +- yann@475: 2 files changed, 2 insertions(+), 2 deletions(-) yann@475: yann@1241: -= END original header =- yann@1241: yann@1241: diff -durN binutils-2.18.50.0.4.orig/ld/Makefile.am binutils-2.18.50.0.4/ld/Makefile.am yann@1241: --- binutils-2.18.50.0.4.orig/ld/Makefile.am 2007-11-03 21:40:37.000000000 +0100 yann@1241: +++ binutils-2.18.50.0.4/ld/Makefile.am 2009-03-07 12:17:30.000000000 +0100 yann@475: @@ -18,7 +18,7 @@ yann@475: # We put the scripts in the directory $(scriptdir)/ldscripts. yann@475: # We can't put the scripts in $(datadir) because the SEARCH_DIR yann@475: # directives need to be different for native and cross linkers. yann@475: -scriptdir = $(tooldir)/lib yann@475: +scriptdir = $(libdir) yann@475: yann@475: EMUL = @EMUL@ yann@475: EMULATION_OFILES = @EMULATION_OFILES@ yann@1241: diff -durN binutils-2.18.50.0.4.orig/ld/Makefile.in binutils-2.18.50.0.4/ld/Makefile.in yann@1241: --- binutils-2.18.50.0.4.orig/ld/Makefile.in 2007-11-03 21:40:37.000000000 +0100 yann@1241: +++ binutils-2.18.50.0.4/ld/Makefile.in 2009-03-07 12:17:30.000000000 +0100 yann@1241: @@ -287,7 +287,7 @@ yann@475: # We put the scripts in the directory $(scriptdir)/ldscripts. yann@475: # We can't put the scripts in $(datadir) because the SEARCH_DIR yann@475: # directives need to be different for native and cross linkers. yann@475: -scriptdir = $(tooldir)/lib yann@475: +scriptdir = $(libdir) yann@475: BASEDIR = $(srcdir)/.. yann@475: BFDDIR = $(BASEDIR)/bfd yann@475: INCDIR = $(BASEDIR)/include