forked from len0rd/rockbox
rbutil: Update build instructions.
Change-Id: Iaf08b0c84997d77b034dc23f40021c2dd52fc454
This commit is contained in:
parent
748b00a7fc
commit
7319356dfd
1 changed files with 13 additions and 22 deletions
|
@ -20,44 +20,35 @@ for Rockbox.
|
||||||
Requirements:
|
Requirements:
|
||||||
=============
|
=============
|
||||||
- gcc
|
- gcc
|
||||||
- Qt 4.5.0 or later
|
- Qt 5
|
||||||
- at least the following folders from Rockbox svn:
|
- at least the following folders from Rockbox tree:
|
||||||
o lib/rbcodec/codecs/libspeex
|
o lib/rbcodec/codecs/libspeex
|
||||||
o rbutil/
|
o utils/
|
||||||
o tools/
|
o tools/
|
||||||
- libusb (Linux only)
|
- libusb (Linux only)
|
||||||
|
|
||||||
Building:
|
Building:
|
||||||
=========
|
=========
|
||||||
- run qmake
|
- run cmake in the utils/ folder
|
||||||
- run make
|
- run make
|
||||||
|
|
||||||
Build Options:
|
Build Options:
|
||||||
==============
|
==============
|
||||||
- static
|
There are no build options to set by the user. If your Qt installation is not
|
||||||
add "-config static" to the qmake call to build a static binary. Note that
|
in the PATH or a standard search location you might need to set
|
||||||
this also requires that you have a statically built version of Qt.
|
CMAKE_PREFIX_PATH to point to it.
|
||||||
- dbg
|
|
||||||
add "-config dbg" to build with debug symbols.
|
|
||||||
- silent
|
|
||||||
add "-config silent" to the qmake call. This is an undocumented feature of
|
|
||||||
Qt itself. Note that this doesn't seem to work on Windows and Mac OS X until
|
|
||||||
recent versions of Qt.
|
|
||||||
|
|
||||||
Installation / Deployment:
|
Installation / Deployment:
|
||||||
==========================
|
==========================
|
||||||
Rockbox Utility is build as all-in-one binary. This means for distribution
|
For deployment the generated build system contains a target
|
||||||
you need:
|
deploy_RockboxUtility (there's also a target deploy which will also deploy
|
||||||
- RockboxUtility (main binary)
|
other tools.) Depending on the system deployment will create a zip file
|
||||||
- rbutil_*.qm (translation files, only for non-static builds)
|
(Windows), dmg (MacOS) or AppImage (Linux).
|
||||||
You don't need any other files like configuration files, especially
|
|
||||||
rbutil.ini which will get included into the binary.
|
|
||||||
|
|
||||||
The script utils/common/deploy-rbutil.py automates building deployment
|
The script utils/common/tarball-rbutil.py automates building a source archive.
|
||||||
binaries. For a complete list of paths to get from svn to build please check
|
For a complete list of paths to get from the repository to build please check
|
||||||
its source.
|
its source.
|
||||||
|
|
||||||
|
|
||||||
The website for Rockbox Utility is
|
The website for Rockbox Utility is
|
||||||
http://www.rockbox.org/wiki/RockboxUtility
|
http://www.rockbox.org/wiki/RockboxUtility
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue