Initial version of mknkboot - a utility to replace "merge0.cpp" to insert a Rockbox bootloader into a Gigabeat-S nk.bin firmware update image. This was rewritten from scratch, but has been tested to produce output files identical to merge0.cpp.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15570 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2007-11-11 12:08:06 +00:00
parent b9f62e991d
commit fe16efdd0c
3 changed files with 215 additions and 2 deletions

View file

@ -11,7 +11,7 @@ LDFLAGS := -g
CLEANALL := scramble descramble iriver sh2d bmp2rb rdf2binary convbdf \
generate_rocklatin mkboot ipod_fw codepages uclpack mi4 gigabeat database \
lngdump telechips gigabeats mktccboot
lngdump telechips gigabeats mktccboot mknkboot
all:
@echo "Run make in your build directory!"
@ -41,6 +41,9 @@ mkboot: mkboot.c
mktccboot: mktccboot.c telechips.o
$(SILENT)$(CC) -g $+ -o $@
mknkboot: mknkboot.c
$(SILENT)$(CC) -g $+ -o $@
lngdump: lngdump.c
$(SILENT)$(CC) -g $+ -o $@