qemu-kvm: Install built option roms
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.
Signed-off-by Jan Kiszka <[email protected]>
---
Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Makefile +3 -0
@@ -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"
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.
Signed-off-by Jan Kiszka <[email protected]>
---
v2: Removed forgotten reference to $(SRC_PATH)
Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Makefile +3 -0
@@ -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"
Marcelo Tosatti
AppliedQuoted 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.
Signed-off-by Jan Kiszka <[email protected]>---
v2: Removed forgotten reference to $(SRC_PATH)
Applied this and 0.11-stable version. Thanks.