]> git.proxmox.com Git - qemu.git/commitdiff
s390-ccw.img: Take care of the elf->img transition
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 23 Apr 2013 01:23:05 +0000 (01:23 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:18:24 +0000 (20:18 +0200)
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>
pc-bios/s390-ccw/Makefile

index c126194d1b92fba8c7777baaafec4d82d7ac0f53..ad55a14a144516871e62f05f5906afb1f7954c33 100644 (file)
@@ -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 *~