Move mktccboot from tools/ to rbutil/mktccboot/ - inspired by FS#10728 but with no functional changes to code.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23382 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2009-10-28 21:11:43 +00:00
parent 1992c389ae
commit 48430bfabd
6 changed files with 25 additions and 8 deletions

21
rbutil/mktccboot/Makefile Normal file
View file

@ -0,0 +1,21 @@
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
TOOLSDIR=../../tools
CFLAGS := -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
all: mktccboot
telechips.o: $(TOOLSDIR)/telechips.c $(TOOLSDIR)/telechips.h
$(SILENT)$(CC) $(CFLAGS) $(TOOLSDIR)/telechips.c -c -o $@
mktccboot: mktccboot.c telechips.o
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
clean:
rm -f telechips.o mktccboot

View file

@ -13,10 +13,10 @@ LDFLAGS := -g
CLEANALL := scramble descramble iriver sh2d bmp2rb rdf2binary convbdf \ CLEANALL := scramble descramble iriver sh2d bmp2rb rdf2binary convbdf \
generate_rocklatin mkboot ipod_fw codepages uclpack mi4 gigabeat \ generate_rocklatin mkboot ipod_fw codepages uclpack mi4 gigabeat \
lngdump telechips gigabeats creative hmac-sha1 mktccboot rbspeexenc \ lngdump telechips gigabeats creative hmac-sha1 rbspeexenc \
mkzenboot mk500boot mkzenboot mk500boot
all: scramble descramble sh2d rdf2binary mkboot mktccboot mkzenboot \ all: scramble descramble sh2d rdf2binary mkboot mkzenboot \
convbdf codepages uclpack rbspeexenc voicefont mk500boot convbdf codepages uclpack rbspeexenc voicefont mk500boot
scramble: scramble.o iriver.o mi4.o gigabeat.o gigabeats.o telechips.o iaudio_bl_flash.o creative.o hmac-sha1.o scramble: scramble.o iriver.o mi4.o gigabeat.o gigabeats.o telechips.o iaudio_bl_flash.o creative.o hmac-sha1.o
@ -46,9 +46,6 @@ rdf2binary: rdf2binary.c
mkboot: mkboot.c mkboot: mkboot.c
$(SILENT)$(CC) $(CFLAGS) $+ -o $@ $(SILENT)$(CC) $(CFLAGS) $+ -o $@
mktccboot: mktccboot.c telechips.o
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
mk500boot: mk500boot.c mr500.c mk500boot: mk500boot.c mr500.c
$(SILENT)$(CC) $(CFLAGS) $+ -o $@ $(SILENT)$(CC) $(CFLAGS) $+ -o $@

2
tools/configure vendored
View file

@ -909,7 +909,7 @@ fi
iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb" iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb"
ipodbitmaptools="$toolset scramble bmp2rb" ipodbitmaptools="$toolset scramble bmp2rb"
gigabeatbitmaptools="$toolset scramble descramble bmp2rb" gigabeatbitmaptools="$toolset scramble descramble bmp2rb"
tccbitmaptools="$toolset scramble mktccboot bmp2rb" tccbitmaptools="$toolset scramble bmp2rb"
# generic is used by IFP, Meizu and Onda # generic is used by IFP, Meizu and Onda
genericbitmaptools="$toolset bmp2rb" genericbitmaptools="$toolset bmp2rb"
# scramble is used by all other targets # scramble is used by all other targets

View file

@ -20,7 +20,7 @@ PPCFLAGS = $(filter-out -Dmain=SDL_main,$(CFLAGS)) # cygwin sdl-config fix
TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \
$(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \ $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \
$(TOOLSDIR)/uclpack $(TOOLSDIR)/mktccboot $(TOOLSDIR)/mkboot $(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot
ifeq (,$(PREFIX)) ifeq (,$(PREFIX))

View file

@ -18,7 +18,6 @@ $(TOOLSDIR)/rdf2binary: $(TOOLSDIR)/rdf2binary.c
$(TOOLSDIR)/convbdf: $(TOOLSDIR)/convbdf.c $(TOOLSDIR)/convbdf: $(TOOLSDIR)/convbdf.c
$(TOOLSDIR)/codepages: $(TOOLSDIR)/codepages.c $(TOOLSDIR)/codepage_tables.c $(TOOLSDIR)/codepages: $(TOOLSDIR)/codepages.c $(TOOLSDIR)/codepage_tables.c
$(TOOLSDIR)/mkboot: $(TOOLSDIR)/mkboot.c $(TOOLSDIR)/mkboot: $(TOOLSDIR)/mkboot.c
$(TOOLSDIR)/mktccboot: $(TOOLSDIR)/mktccboot.c $(TOOLSDIR)/telechips.c
$(TOOLSDIR)/wavtrim: $(TOOLSDIR)/wavtrim.c $(TOOLSDIR)/wavtrim: $(TOOLSDIR)/wavtrim.c
$(TOOLSDIR)/voicefont: $(TOOLSDIR)/voicefont.c $(TOOLSDIR)/voicefont: $(TOOLSDIR)/voicefont.c