ipxe: use upstream configuration
Upstream supports named configurations now and ships with settings for qemu. Use them, drop our config header copying. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
f927f16213
commit
cf2b4b5b77
|
@ -120,20 +120,17 @@ efi-rom-%: build-pxe-roms build-efi-roms
|
||||||
-ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \
|
-ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \
|
||||||
-o ../pc-bios/efi-$*.rom
|
-o ../pc-bios/efi-$*.rom
|
||||||
|
|
||||||
build-pxe-roms: ipxe/src/config/local/general.h
|
build-pxe-roms:
|
||||||
$(MAKE) -C ipxe/src \
|
$(MAKE) -C ipxe/src CONFIG=qemu \
|
||||||
CROSS_COMPILE=$(x86_64_cross_prefix) \
|
CROSS_COMPILE=$(x86_64_cross_prefix) \
|
||||||
$(patsubst %,bin/%.rom,$(pxerom_targets))
|
$(patsubst %,bin/%.rom,$(pxerom_targets))
|
||||||
|
|
||||||
build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h
|
build-efi-roms: build-pxe-roms
|
||||||
$(MAKE) -C ipxe/src \
|
$(MAKE) -C ipxe/src CONFIG=qemu \
|
||||||
CROSS_COMPILE=$(x86_64_cross_prefix) \
|
CROSS_COMPILE=$(x86_64_cross_prefix) \
|
||||||
$(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
|
$(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
|
||||||
$(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets))
|
$(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets))
|
||||||
|
|
||||||
ipxe/src/config/local/%: config.ipxe.%
|
|
||||||
cp $< $@
|
|
||||||
|
|
||||||
|
|
||||||
slof:
|
slof:
|
||||||
$(MAKE) -C SLOF CROSS=$(powerpc64_cross_prefix) qemu
|
$(MAKE) -C SLOF CROSS=$(powerpc64_cross_prefix) qemu
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
#undef BANNER_TIMEOUT
|
|
||||||
#define BANNER_TIMEOUT 30
|
|
||||||
#undef ROM_BANNER_TIMEOUT
|
|
||||||
#define ROM_BANNER_TIMEOUT 0
|
|
Loading…
Reference in a new issue