aboutsummaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-01-30 11:27:33 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-01 14:45:02 -0600
commit6fbcef296a7e34b236d836cf7b42c38e78de6fb6 (patch)
treef5db3ae18801d95183bccb57032e1da547604d06 /pc-bios
parent02df4d6fb4dad5b82165fb603cc403256574cbf8 (diff)
downloadqemu-6fbcef296a7e34b236d836cf7b42c38e78de6fb6.zip
qemu-6fbcef296a7e34b236d836cf7b42c38e78de6fb6.tar.gz
qemu-6fbcef296a7e34b236d836cf7b42c38e78de6fb6.tar.bz2
optionroms: Silence intermediate file removal
The build process of optionroms spits out an "rm ..." line. Moreover, it removes all .o files that can be handy for debugging purposes. So disable automatic intermediate removal. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'pc-bios')
-rw-r--r--pc-bios/optionrom/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile
index 51da288..2caf7e6 100644
--- a/pc-bios/optionrom/Makefile
+++ b/pc-bios/optionrom/Makefile
@@ -16,6 +16,9 @@ QEMU_CFLAGS = $(CFLAGS)
build-all: multiboot.bin linuxboot.bin
+# suppress auto-removal of intermediate files
+.SECONDARY:
+
%.img: %.o
$(call quiet-command,$(LD) -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@")