Rockbox Utility: use libipodpatcher.

Instead of building the sources directly build and link libipodpatcher.a as
done for other tools.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31326 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-12-16 19:34:18 +00:00
parent 98becd2076
commit d992536285
2 changed files with 8 additions and 8 deletions

View file

@ -83,6 +83,12 @@ libucl.commands = @$(MAKE) -s \
TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/tools/ucl/src \
libucl$$RBLIBPOSTFIX \
CC=\"$$QMAKE_CC $$MACHINEFLAGS\" AR=\"$$MYAR\"
libipodpatcher.commands = @$(MAKE) -s \
BUILD_DIR=$$MYBUILDDIR/ipodpatcher/ \
TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/ipodpatcher \
APPVERSION=\"rbutil\" \
libipodpatcher$$RBLIBPOSTFIX \
CC=\"$$QMAKE_CC $$MACHINEFLAGS\" AR=\"$$MYAR\"
libmkamsboot.commands = @$(MAKE) -s \
BUILD_DIR=$$MYBUILDDIR/mkamsboot/ \
TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/mkamsboot \
@ -109,7 +115,8 @@ libchinachip.commands = @$(MAKE) -s \
CC=\"$$QMAKE_CC $$MACHINEFLAGS\" AR=\"$$MYAR\"
# Note: order is important for RBLIBS! The libs are appended to the linker
# flags in this order, put libucl at the end.
RBLIBS = librbspeex libmkamsboot libmktccboot libmkmpioboot libchinachip libucl
RBLIBS = librbspeex libipodpatcher libmkamsboot libmktccboot \
libmkmpioboot libchinachip libucl
QMAKE_EXTRA_TARGETS += $$RBLIBS
PRE_TARGETDEPS += $$RBLIBS