Skip to contentSkip to conversation

qemu-kvm: Install built option roms

PATCH Superseded Jan Kiszka 2 participants 3 messages Sep 2, 2009

Subsystems (2)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 qemu-kvm: Install built option roms

Based on Avi's version:

Pick up option roms from the build directory if available. As we do not ship a extboot.bin binary, this also fixes the installation of this rom.

---

 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Makefile +3 -0
index bfc4b0f..9a70653 100644
@@ -251,6 +251,9 @@ ifneq ($(BLOBS),)
 	    if [ -f $(SRC_PATH)/pc-bios/$$x ];then \
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
 	    fi \
+	    ; if [ -f $(SRC_PATH)/pc-bios/optionrom/$$x ];then \
+		$(INSTALL_DATA) pc-bios/optionrom/$$x "$(DESTDIR)$(datadir)"; \
+	    fi \
 	done
 endif
 	$(INSTALL_DIR) "$(DESTDIR)$(datadir)/keymaps"
author
#1 lore raw

PATCH v2 1/1 qemu-kvm: Install built option roms

Based on Avi's version:

Pick up option roms from the build directory if available. As we do not ship a extboot.bin binary, this also fixes the installation of this rom.

---
v2: Removed forgotten reference to $(SRC_PATH)

 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Makefile +3 -0
index bfc4b0f..0850241 100644
@@ -251,6 +251,9 @@ ifneq ($(BLOBS),)
 	    if [ -f $(SRC_PATH)/pc-bios/$$x ];then \
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
 	    fi \
+	    ; if [ -f pc-bios/optionrom/$$x ];then \
+		$(INSTALL_DATA) pc-bios/optionrom/$$x "$(DESTDIR)$(datadir)"; \
+	    fi \
 	done
 endif
 	$(INSTALL_DIR) "$(DESTDIR)$(datadir)/keymaps"
#2 lore raw
Quoted 8 lines · Jan Kiszka

Based on Avi's version:

Pick up option roms from the build directory if available. As we do not ship a extboot.bin binary, this also fixes the installation of this rom.

---
v2: Removed forgotten reference to $(SRC_PATH)

Applied this and 0.11-stable version. Thanks.