Patchwork [13/24] s390-ccw.img: Take care of the elf->img transition

login
register
mail settings
Submitter Alexander Graf
Date April 26, 2013, 6:19 p.m.
Message ID <1367000373-7972-14-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/239908/
State New
Headers show

Comments

Alexander Graf - April 26, 2013, 6:19 p.m.
From: Christian Borntraeger <borntraeger@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 <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 pc-bios/s390-ccw/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

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 *~