1
0
Fork 0
forked from len0rd/rockbox

Rockbox Utility: build chinachippatcher as library.

Update the chinachip Makefile based on the mkamsboot one, build and link as
library for Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31117 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-12-03 09:44:21 +00:00
parent fd5f16c070
commit 7de4f64bb6
3 changed files with 98 additions and 9 deletions

View file

@ -95,9 +95,14 @@ libmkmpioboot.commands = @$(MAKE) -s \
APPVERSION=\"rbutil\" \
libmkmpioboot$$RBLIBPOSTFIX \
CC=\"$$QMAKE_CC $$MACHINEFLAGS\" AR=\"$$MYAR\"
libchinachip.commands = @$(MAKE) -s \
TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/chinachippatcher \
APPVERSION=\"rbutil\" \
libchinachip$$RBLIBPOSTFIX \
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 libucl
RBLIBS = librbspeex libmkamsboot libmktccboot libmkmpioboot libchinachip libucl
QMAKE_EXTRA_TARGETS += $$RBLIBS
PRE_TARGETDEPS += $$RBLIBS