mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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:
parent
fd5f16c070
commit
7de4f64bb6
3 changed files with 98 additions and 9 deletions
|
|
@ -30,7 +30,6 @@ SOURCES += \
|
|||
base/autodetection.cpp \
|
||||
../ipodpatcher/ipodpatcher.c \
|
||||
../sansapatcher/sansapatcher.c \
|
||||
../chinachippatcher/chinachip.c \
|
||||
themesinstallwindow.cpp \
|
||||
base/uninstall.cpp \
|
||||
uninstallwindow.cpp \
|
||||
|
|
@ -94,7 +93,6 @@ HEADERS += \
|
|||
../ipodpatcher/parttypes.h \
|
||||
../sansapatcher/sansapatcher.h \
|
||||
../sansapatcher/sansaio.h \
|
||||
../chinachippatcher/chinachip.h \
|
||||
irivertools/h100sums.h \
|
||||
irivertools/h120sums.h \
|
||||
irivertools/h300sums.h \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue