summaryrefslogtreecommitdiffstats
path: root/recipes-extended/vgabios/files/build-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/vgabios/files/build-cc.patch')
-rw-r--r--recipes-extended/vgabios/files/build-cc.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-extended/vgabios/files/build-cc.patch b/recipes-extended/vgabios/files/build-cc.patch
deleted file mode 100644
index 01fd8b97..00000000
--- a/recipes-extended/vgabios/files/build-cc.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Use the host compiler to build the tools we need at runtime.
2
3Upstream-Status: Inappropriate [embedded specific]
4
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7Index: Makefile
8===================================================================
9--- a/Makefile (revision 298)
10+++ b/Makefile (working copy)
11@@ -5,6 +5,7 @@
12 SHELL = /bin/sh
13
14 CC = gcc
15+HOSTCC = gcc
16 CFLAGS = -g -O2 -Wall -Wstrict-prototypes
17 LDFLAGS =
18
19@@ -79,10 +80,10 @@
20 tar czvf ../$(RELEASE).tgz --exclude .svn -C .. $(RELEASE)/
21
22 biossums: biossums.c
23- $(CC) -o biossums biossums.c
24+ $(HOSTCC) -o biossums biossums.c
25
26 vbetables-gen: vbetables-gen.c
27- $(CC) -o vbetables-gen vbetables-gen.c
28+ $(HOSTCC) -o vbetables-gen vbetables-gen.c
29
30 vbetables.h: vbetables-gen
31 ./vbetables-gen > $@