OpenULINK firmware: change .lnk file extension to .lk in "make clean"

Recent versions of SDCC generate .lk files instead of .lnk - change the
OpenULINK Makefile "clean" target and top level .gitignore file to reflect
this.

Change-Id: I36f38638b712b962498c69c362f123378e1aa045
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Reviewed-on: http://openocd.zylin.com/1485
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
__archive__
Martin Schmölzer 2013-07-07 12:51:27 +02:00 committed by Spencer Oliver
parent 7f32136238
commit 48e5567e37
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -21,7 +21,7 @@ src/jtag/drivers/OpenULINK/*.lst
src/jtag/drivers/OpenULINK/*.sym src/jtag/drivers/OpenULINK/*.sym
src/jtag/drivers/OpenULINK/*.map src/jtag/drivers/OpenULINK/*.map
src/jtag/drivers/OpenULINK/*.mem src/jtag/drivers/OpenULINK/*.mem
src/jtag/drivers/OpenULINK/*.lnk src/jtag/drivers/OpenULINK/*.lk
src/jtag/drivers/OpenULINK/*.ihx src/jtag/drivers/OpenULINK/*.ihx
src/jtag/drivers/OpenULINK/*.rst src/jtag/drivers/OpenULINK/*.rst

View File

@ -83,7 +83,7 @@ ulink_firmware.ihx: $(OBJECTS)
$(AS) -lsgo $@ $< $(AS) -lsgo $@ $<
clean: clean:
rm -f *.asm *.lst *.rel *.rst *.sym *.ihx *.lnk *.map *.mem rm -f *.asm *.lst *.rel *.rst *.sym *.ihx *.lk *.map *.mem
hex: ulink_firmware.ihx hex: ulink_firmware.ihx
$(PACKIHX) ulink_firmware.ihx > ulink_firmware.hex $(PACKIHX) ulink_firmware.ihx > ulink_firmware.hex