You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							67 lines
						
					
					
						
							2.3 KiB
						
					
					
				
			
		
		
	
	
							67 lines
						
					
					
						
							2.3 KiB
						
					
					
				#!/bin/sh -e | 
						|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- | 
						|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
						|
# | 
						|
# Filename: package/.../uclibc/pkg_patch/binutils-300-001_ld_makefile_patch.patch | 
						|
# Copyright (C) 2006 The OpenSDE Project | 
						|
# Copyright (C) 2004 - 2006 The T2 SDE Project | 
						|
# | 
						|
# More information can be found in the files COPYING and README. | 
						|
# | 
						|
# This patch file is dual-licensed. It is available under the license the | 
						|
# patched project is licensed under, as long as it is an OpenSource license | 
						|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms | 
						|
# of the GNU General Public License as published by the Free Software | 
						|
# Foundation; either version 2 of the License, or (at your option) any later | 
						|
# version. | 
						|
# --- SDE-COPYRIGHT-NOTE-END --- | 
						|
 | 
						|
## 001_ld_makefile_patch.dpatch | 
						|
## | 
						|
## All lines beginning with `## DP:' are a description of the patch. | 
						|
## DP: Description: correct where ld scripts are installed | 
						|
## DP: Author: Chris Chimelis <[email protected]> | 
						|
## DP: Upstream status: N/A | 
						|
## DP: Date: ?? | 
						|
 | 
						|
if [ $# -ne 1 ]; then | 
						|
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | 
						|
    exit 1 | 
						|
fi | 
						|
 | 
						|
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | 
						|
patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | 
						|
 | 
						|
case "$1" in | 
						|
       -patch) patch $patch_opts -p1 < $0;; | 
						|
       -unpatch) patch $patch_opts -p1 -R < $0;; | 
						|
        *) | 
						|
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | 
						|
                exit 1;; | 
						|
esac | 
						|
 | 
						|
exit 0 | 
						|
 | 
						|
@DPATCH@ | 
						|
--- binutils-2.16.91.0.1/ld/Makefile.am | 
						|
+++ binutils-2.16.91.0.1/ld/Makefile.am | 
						|
@@ -20,7 +20,7 @@ | 
						|
 # We put the scripts in the directory $(scriptdir)/ldscripts. | 
						|
 # We can't put the scripts in $(datadir) because the SEARCH_DIR | 
						|
 # directives need to be different for native and cross linkers. | 
						|
-scriptdir = $(tooldir)/lib | 
						|
+scriptdir = $(libdir) | 
						|
  | 
						|
 EMUL = @EMUL@ | 
						|
 EMULATION_OFILES = @EMULATION_OFILES@ | 
						|
--- binutils-2.16.91.0.1/ld/Makefile.in | 
						|
+++ binutils-2.16.91.0.1/ld/Makefile.in | 
						|
@@ -268,7 +268,7 @@ | 
						|
 # We put the scripts in the directory $(scriptdir)/ldscripts. | 
						|
 # We can't put the scripts in $(datadir) because the SEARCH_DIR | 
						|
 # directives need to be different for native and cross linkers. | 
						|
-scriptdir = $(tooldir)/lib | 
						|
+scriptdir = $(libdir) | 
						|
 BASEDIR = $(srcdir)/.. | 
						|
 BFDDIR = $(BASEDIR)/bfd | 
						|
 INCDIR = $(BASEDIR)/include
 | 
						|
 |