* [Qemu-devel] [PATCH sgabios] Makefile: Add HOSTCC
@ 2018-03-25 19:03 Cole Robinson
2018-07-03 14:40 ` Cole Robinson
0 siblings, 1 reply; 3+ messages in thread
From: Cole Robinson @ 2018-03-25 19:03 UTC (permalink / raw)
To: qemu-devel; +Cc: Paolo Bonzini
From: Paolo Bonzini <pbonzini@redhat.com>
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 970b0ff..c8cb92b 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ ASFLAGS += -DBUILD_USER="$(BUILD_USER)"
LDSCRIPT := rom16.ld
LDFLAGS := -T $(LDSCRIPT) -nostdlib
OBJCOPY := objcopy
+HOSTCC := $(CC)
ASRCS = sgabios.S
@@ -55,7 +56,7 @@ sgabios.elf: .depend $(OBJS) $(LDSCRIPT) csum8
$(LD) $(LDFLAGS) $(OBJS) -o $@
csum8: csum8.c
- $(CC) -Wall -O2 -o $@ $<
+ $(HOSTCC) -Wall -O2 -o $@ $<
sgabios.o: buildinfo
--
2.16.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH sgabios] Makefile: Add HOSTCC
2018-03-25 19:03 [Qemu-devel] [PATCH sgabios] Makefile: Add HOSTCC Cole Robinson
@ 2018-07-03 14:40 ` Cole Robinson
2018-07-15 14:48 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Cole Robinson @ 2018-07-03 14:40 UTC (permalink / raw)
To: qemu-devel; +Cc: Paolo Bonzini
I probably should have added more context here...
We carry this patch to sgabios in Fedora to enable cross compilation. It
would be nice to get it into the qemu sgabios git repo so we don't have
to track it downstream anymore
Thanks,
Cole
On 03/25/2018 03:03 PM, Cole Robinson wrote:
> From: Paolo Bonzini <pbonzini@redhat.com>
>
> Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 970b0ff..c8cb92b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -30,6 +30,7 @@ ASFLAGS += -DBUILD_USER="$(BUILD_USER)"
> LDSCRIPT := rom16.ld
> LDFLAGS := -T $(LDSCRIPT) -nostdlib
> OBJCOPY := objcopy
> +HOSTCC := $(CC)
>
> ASRCS = sgabios.S
>
> @@ -55,7 +56,7 @@ sgabios.elf: .depend $(OBJS) $(LDSCRIPT) csum8
> $(LD) $(LDFLAGS) $(OBJS) -o $@
>
> csum8: csum8.c
> - $(CC) -Wall -O2 -o $@ $<
> + $(HOSTCC) -Wall -O2 -o $@ $<
>
> sgabios.o: buildinfo
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH sgabios] Makefile: Add HOSTCC
2018-07-03 14:40 ` Cole Robinson
@ 2018-07-15 14:48 ` Paolo Bonzini
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2018-07-15 14:48 UTC (permalink / raw)
To: Cole Robinson, qemu-devel
On 03/07/2018 16:40, Cole Robinson wrote:
> I probably should have added more context here...
>
> We carry this patch to sgabios in Fedora to enable cross compilation. It
> would be nice to get it into the qemu sgabios git repo so we don't have
> to track it downstream anymore
>
> Thanks,
> Cole
Applied to sgabios.git, thanks!
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-15 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-25 19:03 [Qemu-devel] [PATCH sgabios] Makefile: Add HOSTCC Cole Robinson
2018-07-03 14:40 ` Cole Robinson
2018-07-15 14:48 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).