2019-11-27 13:46:32 +01:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Sun, 3 Nov 2019 07:21:40 -0700
|
|
|
|
Subject: roms/Makefile: enable cross compile for building microvm bios
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
|
|
|
roms/Makefile | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/roms/Makefile b/roms/Makefile
|
2020-04-29 02:12:31 +02:00
|
|
|
index 3aaf3835730023e9a941fc9cd2c2..1bfe34b404d2822bda71edf25ae4 100644
|
2019-11-27 13:46:32 +01:00
|
|
|
--- a/roms/Makefile
|
|
|
|
+++ b/roms/Makefile
|
2020-04-29 02:12:31 +02:00
|
|
|
@@ -205,7 +205,7 @@ opensbi64-sifive_u:
|
2019-11-27 13:46:32 +01:00
|
|
|
cp opensbi/build/platform/sifive/fu540/firmware/fw_jump.bin ../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
|
|
|
|
|
|
|
|
bios-microvm:
|
|
|
|
- $(MAKE) -C qboot
|
|
|
|
+ $(MAKE) -C qboot CROSS_COMPILE=$(x86_64_cross_prefix) CC=gcc
|
|
|
|
cp qboot/bios.bin ../pc-bios/bios-microvm.bin
|
|
|
|
|
|
|
|
clean:
|