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