[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/9] roms: enable ipxe cross builds
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 7/9] roms: enable ipxe cross builds |
Date: |
Mon, 30 Sep 2013 11:12:56 +0200 |
---
roms/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/roms/Makefile b/roms/Makefile
index 5fcc77d..1966f04 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -31,6 +31,7 @@ find-cross-gcc = $(firstword $(wildcard $(patsubst
%ld,%gcc,$(call find-cross-ld
find-cross-prefix = $(subst gcc,,$(notdir $(call find-cross-gcc,$(1))))
powerpc64_cross_prefix := $(call find-cross-prefix,powerpc64)
+x86_64_cross_prefix := $(call find-cross-prefix,x86_64)
#
# EfiRom utility is shipped with edk2 / tianocore, in BaseTools/
@@ -95,10 +96,12 @@ efi-rom-%: build-pxe-roms build-efi-roms
build-pxe-roms: ipxe/src/config/local/general.h
$(MAKE) $(MAKEFLAGS) -C ipxe/src GITVERSION="" \
+ CROSS_COMPILE=$(x86_64_cross_prefix) \
$(patsubst %,bin/%.rom,$(pxerom_targets))
build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h
$(MAKE) $(MAKEFLAGS) -C ipxe/src GITVERSION="" \
+ CROSS_COMPILE=$(x86_64_cross_prefix) \
$(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
$(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets))
--
1.8.3.1
- [Qemu-devel] [PULL 0/9] roms: various build improvements, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 5/9] roms: rewrite scripts/refresh-pxe-roms.sh, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 8/9] roms: enable parallel seabios / seavgabios builds, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 4/9] roms: parallel ipxe builds, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 6/9] roms: add rules to build slof, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 7/9] roms: enable ipxe cross builds,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 9/9] roms: add support for building sgabios, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 1/9] roms: add 'make clean', Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 3/9] roms: build lgplvgabios isavga variant, Gerd Hoffmann, 2013/09/30
- [Qemu-devel] [PATCH 2/9] roms: enable parallel builds for 'make lgplvgabios', Gerd Hoffmann, 2013/09/30