From: Christian Borntraeger <borntrae...@de.ibm.com>

We have to call strip with s390-ccw.elf as input and
s390-ccw.img as output

Signed-off-by: Christian Borntraeger <borntrae...@de.ibm.com>
Signed-off-by: Alexander Graf <ag...@suse.de>
---
 pc-bios/s390-ccw/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pc-bios/s390-ccw/Makefile b/pc-bios/s390-ccw/Makefile
index c126194..ad55a14 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 *~
-- 
1.6.0.2


Reply via email to