1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../yaboot/strip.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 When we cross-compile we need to use the cross strip ...
19 - Rene Rebe <rene@exactcode.de>
21 --- yaboot-1.3.13/Makefile.vanilla 2006-09-28 17:24:45.000000000 +0200
22 +++ yaboot-1.3.13/Makefile 2006-09-28 17:25:37.000000000 +0200
26 OBJCOPY := $(CROSS)objcopy
27 +STRIP := $(CROSS)strip
29 lgcc = `$(CC) -m32 -print-libgcc-file-name`
32 release: docs bindist clean
36 - strip --remove-section=.comment second/yaboot
38 - strip --remove-section=.comment --remove-section=.note util/addnote
39 + $(STRIP) second/yaboot
40 + $(STRIP) --remove-section=.comment second/yaboot
41 + $(STRIP) util/addnote
42 + $(STRIP) --remove-section=.comment --remove-section=.note util/addnote
45 install -d -o root -g root -m 0755 ${ROOT}/etc/