Patchwork [1/2] ipxe: disable two second timeout

login
register
mail settings
Submitter Gerd Hoffmann
Date March 25, 2013, 8:18 a.m.
Message ID <1364199512-20742-2-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/230587/
State New
Headers show

Comments

Gerd Hoffmann - March 25, 2013, 8:18 a.m.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 roms/Makefile              |    7 +++++--
 roms/config.ipxe.general.h |    2 ++
 2 files changed, 7 insertions(+), 2 deletions(-)
 create mode 100644 roms/config.ipxe.general.h

Patch

diff --git a/roms/Makefile b/roms/Makefile
index 3dc5609..7a228ae 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -57,13 +57,13 @@  lgplvgabios-%:
 
 pxerom: $(patsubst %,pxe-rom-%,$(pxerom_variants))
 
-pxe-rom-%:
+pxe-rom-%: ipxe/src/config/local/general.h
 	make -C ipxe/src bin/$(VID)$(DID).rom
 	cp ipxe/src/bin/$(VID)$(DID).rom ../pc-bios/pxe-$*.rom
 
 efirom: $(patsubst %,efi-rom-%,$(pxerom_variants))
 
-efi-rom-%:
+efi-rom-%: ipxe/src/config/local/general.h
 	make -C ipxe/src bin/$(VID)$(DID).rom
 	make -C ipxe/src bin-i386-efi/$(VID)$(DID).efidrv
 	make -C ipxe/src bin-x86_64-efi/$(VID)$(DID).efidrv
@@ -72,3 +72,6 @@  efi-rom-%:
 		-ec ipxe/src/bin-i386-efi/$(VID)$(DID).efidrv \
 		-ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \
 		-o ../pc-bios/efi-$*.rom
+
+ipxe/src/config/local/%: config.ipxe.%
+	cp $< $@
diff --git a/roms/config.ipxe.general.h b/roms/config.ipxe.general.h
new file mode 100644
index 0000000..b3fce53
--- /dev/null
+++ b/roms/config.ipxe.general.h
@@ -0,0 +1,2 @@ 
+#undef BANNER_TIMEOUT
+#define BANNER_TIMEOUT 0