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>
This commit is contained in:
Christian Borntraeger 2013-04-23 01:23:05 +00:00 committed by Alexander Graf
parent 9933c30509
commit 6328801f19
1 changed files with 2 additions and 2 deletions

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