Dash:
[t2.git] / package / x86 / memtest86 / cross.patch
blobd806c736b42a04ff277e378d6b935a22882fa1b5
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../memtest86/cross.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- memtest86+-2.11/Makefile.vanilla 2009-04-16 17:18:27.000000000 +0200
18 +++ memtest86+-2.11/Makefile 2009-04-16 17:18:45.000000000 +0200
19 @@ -10,6 +10,7 @@
21 AS=as -32
22 CC=gcc
23 +OBJCOPY=objcopy
25 CFLAGS= -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC
27 @@ -28,7 +29,7 @@
28 $(LD) -shared -Bsymbolic -T memtest_shared.lds -o $@ $(OBJS)
30 memtest_shared.bin: memtest_shared
31 - objcopy -O binary $< memtest_shared.bin
32 + $(OBJCOPY) -O binary $< memtest_shared.bin
34 memtest: memtest_shared.bin memtest.lds
35 $(LD) -s -T memtest.lds -b binary memtest_shared.bin -o $@