summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-04-23 01:23:05 +0000
committerAlexander Graf <agraf@suse.de>2013-04-26 20:18:24 +0200
commit6328801f19b08302377e812c454fd2b837f669e3 (patch)
treef587d6b518698a9b01d6e223ad54c7b0fbbaac60
parent9933c30509f97e04be0a348659f38b5f53c1ad5c (diff)
downloadfocaccia-qemu-6328801f19b08302377e812c454fd2b837f669e3.tar.gz
focaccia-qemu-6328801f19b08302377e812c454fd2b837f669e3.zip
s390-ccw.img: Take care of the elf->img transition
We have to call strip with s390-ccw.elf as input and
s390-ccw.img as output

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--pc-bios/s390-ccw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pc-bios/s390-ccw/Makefile b/pc-bios/s390-ccw/Makefile
index c126194d1b..ad55a14a14 100644
--- a/pc-bios/s390-ccw/Makefile
+++ b/pc-bios/s390-ccw/Makefile
@@ -20,7 +20,7 @@ s390-ccw.elf: $(OBJECTS)
 	$(call quiet-command,$(CC) $(LDFLAGS) -o $@ $(OBJECTS),"  Building $(TARGET_DIR)$@")
 
 s390-ccw.img: s390-ccw.elf
-	$(call quiet-command,strip $@,"  Stripping $(TARGET_DIR)$@")
+	$(call quiet-command,strip $< -o $@,"  Stripping $(TARGET_DIR)$@")
 
 clean:
-	rm -f *.o *.d *.img *~
+	rm -f *.o *.d *.img *.elf *~