meta-virtualization/recipes-extended/vgabios/files/build-cc.patch
Bruce Ashfield 2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00

32 lines
775 B
Diff

Use the host compiler to build the tools we need at runtime.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Index: Makefile
===================================================================
--- a/Makefile (revision 298)
+++ b/Makefile (working copy)
@@ -5,6 +5,7 @@
SHELL = /bin/sh
CC = gcc
+HOSTCC = gcc
CFLAGS = -g -O2 -Wall -Wstrict-prototypes
LDFLAGS =
@@ -79,10 +80,10 @@
tar czvf ../$(RELEASE).tgz --exclude .svn -C .. $(RELEASE)/
biossums: biossums.c
- $(CC) -o biossums biossums.c
+ $(HOSTCC) -o biossums biossums.c
vbetables-gen: vbetables-gen.c
- $(CC) -o vbetables-gen vbetables-gen.c
+ $(HOSTCC) -o vbetables-gen vbetables-gen.c
vbetables.h: vbetables-gen
./vbetables-gen > $@