aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware/hvmloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware/hvmloader/Makefile')
-rw-r--r--tools/firmware/hvmloader/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/firmware/hvmloader/Makefile b/tools/firmware/hvmloader/Makefile
index c6e7376274..8ab1429ccc 100644
--- a/tools/firmware/hvmloader/Makefile
+++ b/tools/firmware/hvmloader/Makefile
@@ -70,7 +70,11 @@ endif
ifeq ($(CONFIG_SEABIOS),y)
OBJS += seabios.o
CFLAGS += -DENABLE_SEABIOS
-SEABIOS_ROM := $(SEABIOS_DIR)/out/bios.bin
+ifeq ($(SEABIOS_PATH),)
+ SEABIOS_ROM := $(SEABIOS_DIR)/out/bios.bin
+else
+ SEABIOS_ROM := $(SEABIOS_PATH)
+endif
ROMS += $(SEABIOS_ROM)
endif