aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile b/emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile
new file mode 100644
index 000000000000..46ac6f5c6eb1
--- /dev/null
+++ b/emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile
@@ -0,0 +1,15 @@
+--- pc-bios/spapr-rtas/Makefile.orig 2020-01-08 10:52:05 UTC
++++ pc-bios/spapr-rtas/Makefile
+@@ -15,10 +15,10 @@ $(call set-vpath, $(SRC_PATH)/pc-bios/spapr-rtas)
+ build-all: spapr-rtas.bin
+
+ %.o: %.S
+- $(call quiet-command,$(CCAS) -mbig -c -o $@ $<,"CCAS","$(TARGET_DIR)$@")
++ $(call quiet-command,$(CCAS) -c -o $@ $<,"CCAS","$(TARGET_DIR)$@")
+
+ %.img: %.o
+- $(call quiet-command,$(CC) -nostdlib -mbig -o $@ $<,"Building","$(TARGET_DIR)$@")
++ $(call quiet-command,$(CC) -nostdlib -o $@ $<,"Building","$(TARGET_DIR)$@")
+
+ %.bin: %.img
+ $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"Building","$(TARGET_DIR)$@")