2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
5 # T2 SDE: package/.../binutils/300-001_ld_makefile_patch.patch.uclibc
6 # Copyright (C) 2004 - 2016 The T2 SDE Project
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- T2-COPYRIGHT-NOTE-END ---
18 ## 001_ld_makefile_patch.dpatch
20 ## All lines beginning with `## DP:' are a description of the patch.
21 ## DP: Description: correct where ld scripts are installed
22 ## DP: Author: Chris Chimelis <chris@debian.org>
23 ## DP: Upstream status: N/A
27 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
31 [ -f debian
/patches
/00patch-opts
] && . debian
/patches
/00patch-opts
32 patch_opts
="${patch_opts:--f --no-backup-if-mismatch}"
35 -patch) patch $patch_opts -p1 < $0;;
36 -unpatch) patch $patch_opts -p1 -R < $0;;
38 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
45 --- binutils-2.16
.91.0.1/ld
/Makefile.am
46 +++ binutils-2.16
.91.0.1/ld
/Makefile.am
48 # We put the scripts in the directory $(scriptdir)/ldscripts.
49 # We can't put the scripts in $(datadir) because the SEARCH_DIR
50 # directives need to be different for native and cross linkers.
51 -scriptdir = $
(tooldir
)/lib
52 +scriptdir
= $
(libdir
)
55 EMULATION_OFILES
= @EMULATION_OFILES@
56 --- binutils-2.16
.91.0.1/ld
/Makefile.
in
57 +++ binutils-2.16
.91.0.1/ld
/Makefile.
in
59 # We put the scripts in the directory $(scriptdir)/ldscripts.
60 # We can't put the scripts in $(datadir) because the SEARCH_DIR
61 # directives need to be different for native and cross linkers.
62 -scriptdir = $
(tooldir
)/lib
63 +scriptdir
= $
(libdir
)
64 BASEDIR
= $
(srcdir
)/..
65 BFDDIR
= $
(BASEDIR
)/bfd
66 INCDIR
= $
(BASEDIR
)/include