summaryrefslogtreecommitdiffstats
path: root/rbutil
AgeCommit message (Collapse)AuthorFilesLines
2012-01-06Fix typo in comment.Dominik Riebeling1-2/+2
Thanks to fml for noticing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31595 a1c6a512-1295-4272-9138-f99709370657
2012-01-06MSVC: fix error in README and update librbspeex build folder.Dominik Riebeling2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31594 a1c6a512-1295-4272-9138-f99709370657
2012-01-06Fix "invalid settings" dialog appearing twice.Dominik Riebeling1-3/+3
Instead of checking the settings on startup set only the device display. Otherwise the settings are checked directly on startup and after finishing the build information download, which leads to the configuration dialog getting opened twice. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31593 a1c6a512-1295-4272-9138-f99709370657
2012-01-06Split up encoders sources.Dominik Riebeling12-239/+337
Create a separate source / header file for each supported encoder and the base class and rename classes for better readability. This should also make it easier adding new encoders. Remove a few trailing spaces while at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31592 a1c6a512-1295-4272-9138-f99709370657
2012-01-06Remove OS X special universal binary handling.Dominik Riebeling1-14/+2
Since the libs are now build as universal libs there is no need anymore to create separate binaries for both architectures and run lipo on them, just build in a single run now. Fixes building universal binaries and dmg for all tools using libtools.make. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31590 a1c6a512-1295-4272-9138-f99709370657
2012-01-05Update OS X library building.Dominik Riebeling2-35/+17
- As done with libucl and librbspeex, create universal libraries using ar instead of building twice and using lipo. This notably simplifies things. - Allow overwriting the compiler via command line. This is required for building on OS X. - Update Rockbox Utility to the changed library rules. Fixes building which was broken by the previous Makefile changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31588 a1c6a512-1295-4272-9138-f99709370657
2012-01-04Rockbox Utility: add support for mkimxboot bootloader.Dominik Riebeling6-3/+264
Reworked version of FS#12402 by Jean-Louis Biasini. Since the mkimxboot process takes quite a while which blocks the UI it has been adjusted to perform the actual firmware patching in a separate process. Various other small changes have been made to make it fit better into Rockbox Utility's dialogs / messages and update the code to latest changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31580 a1c6a512-1295-4272-9138-f99709370657
2012-01-04Extend flashing hint a bit.Dominik Riebeling1-1/+4
Since flashing the firmware is a rather critical process extend the post installation hint to advise the user of charging the player first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31579 a1c6a512-1295-4272-9138-f99709370657
2012-01-03Update displayed settings on startup.Dominik Riebeling1-4/+5
Update the target values in the main window immediately on startup. Downloading the target information might not complete successfully, and in that case a previously selected target will not be shown. If the target information download finishes the displayed values are updated again (to show target status information). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31546 a1c6a512-1295-4272-9138-f99709370657
2012-01-03Remove trailing whitespaces.Dominik Riebeling1-4/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31545 a1c6a512-1295-4272-9138-f99709370657
2012-01-02Fix cross compiling on OS X.Dominik Riebeling2-1/+2
- The OS X specific flags must not be set when cross compiling. Check for a MinGW compiler on OS X before adding them. - Do not set CC explicitly in chinachippatcher, it will be set from Rockbox Utility's Makefile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31527 a1c6a512-1295-4272-9138-f99709370657
2012-01-02Remove unnecessary include.Dominik Riebeling1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31526 a1c6a512-1295-4272-9138-f99709370657
2012-01-02Rockbox Utility: update building libs.Dominik Riebeling1-41/+47
- Build libs in a libs/ folder below the build folder. This makes it easier to remove them when cleaning the build directory. - Pass flags via environment instead as parameters to make. Hopefully fixes problems when using QtCreator on Windows. - Respect silent config option when calling the lib Makefiles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31525 a1c6a512-1295-4272-9138-f99709370657
2012-01-02Allow passing additional CFLAGS.Dominik Riebeling4-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
2012-01-02libtools.make: allow overriding variables via environment.Dominik Riebeling1-10/+6
Simplify a bit while at it as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31523 a1c6a512-1295-4272-9138-f99709370657
2011-12-26Rockbox Utility: recognize Nano 6th gen as unsupported device.Dominik Riebeling1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31436 a1c6a512-1295-4272-9138-f99709370657
2011-12-22Rockbox Utility: add description and helper code for VS.Dominik Riebeling5-0/+744
For building Rockbox Utility with Visual Studio some extra steps need to be done. Visual Studio is also lacking some C99 standard headers. Add the missing headers (from clang / msinttypes) and a Makefile to automate the extra steps. See the README file for other requirements and necessary steps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31407 a1c6a512-1295-4272-9138-f99709370657
2011-12-20Remove duplicate include. Thanks to Jean-Louis Biasini for spottin this.Frank Gevaerts1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31383 a1c6a512-1295-4272-9138-f99709370657
2011-12-20rbutil: enable clipzipRafaël Carré1-3/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31382 a1c6a512-1295-4272-9138-f99709370657
2011-12-20mkamsboot: update READMEbootloader_amsv2_v4Rafaël Carré1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31380 a1c6a512-1295-4272-9138-f99709370657
2011-12-20mkamsboot: don't boot OF when USB is pluggedRafaël Carré3-131/+31
USB now works on all models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31379 a1c6a512-1295-4272-9138-f99709370657
2011-12-16Rename libchinachip to libchinachippatcher.Dominik Riebeling2-5/+5
Use the same name for output file / library and folder to simplify dependencies. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31334 a1c6a512-1295-4272-9138-f99709370657
2011-12-16libtools.make: add rule to build a DLL.Dominik Riebeling2-0/+17
This only works for Windows, so you need to use it on Windows or set CROSS accordingly. Update mkamsboot to make mkamsboot.dll build and link against ucl.dll. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31333 a1c6a512-1295-4272-9138-f99709370657
2011-12-16sansapatcher, ipodpatcher: use MinGW C99 version of stdio functions.Dominik Riebeling2-2/+2
The MinGW versions know additional format identifiers. Use those versions to avoid warnings. See also http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31331 a1c6a512-1295-4272-9138-f99709370657
2011-12-16ipodpatcher: move linker only options out of CFLAGS.Dominik Riebeling2-2/+2
OS X requires some linker-only options. Remove them from CFLAGS to avoid a compiler warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31330 a1c6a512-1295-4272-9138-f99709370657
2011-12-16Rockbox Utility: use libsansapatcher.Dominik Riebeling2-10/+7
Instead of building sansapatcher sources directly build and use the library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31329 a1c6a512-1295-4272-9138-f99709370657
2011-12-16sansapatcher: allow building without bootloaders.Dominik Riebeling2-1/+13
There is no need to always build sansapatcher with embedded bootloaders. Allow building without similar to ipodpatcher. Interactive mode will obviously not be available if built without bootloaders. Fix rules for creating the source files for the embedded bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31328 a1c6a512-1295-4272-9138-f99709370657
2011-12-16sansapatcher: use libtools.make.Dominik Riebeling1-51/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31327 a1c6a512-1295-4272-9138-f99709370657
2011-12-16Rockbox Utility: use libipodpatcher.Dominik Riebeling2-8/+8
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
2011-12-16mkamsboot: fix building as universal library.Dominik Riebeling1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31325 a1c6a512-1295-4272-9138-f99709370657
2011-12-16ipodpatcher: convert to use libtools.make.Dominik Riebeling2-60/+34
This allows building libipodpatcher, which will make it possible to stop building ipodpatcher files in Rockbox Utility directly. Move some OS X common values to libtools.make as well (might fix building libmkamsboot on OS X). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31324 a1c6a512-1295-4272-9138-f99709370657
2011-12-15mkamsboot: convert to use libtools.make.Dominik Riebeling1-91/+5
As a result building mkamsboot for Rockbox Utility will now respect BUILD_DIR, which should eliminate all possibly remaining issues with dualboot.o. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31283 a1c6a512-1295-4272-9138-f99709370657
2011-12-15chinachippatcher: convert to use libtools.make.Dominik Riebeling2-90/+14
While at it break some long lines in the program output as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31282 a1c6a512-1295-4272-9138-f99709370657
2011-12-15Break some long lines.Dominik Riebeling1-4/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31281 a1c6a512-1295-4272-9138-f99709370657
2011-12-14Pass version when building libmktccboot for Rockbox Utility.Dominik Riebeling1-0/+1
On OS X if no version is passed a string containing a space gets generated in some situation, which will break building. Explicitly set version to some known string as done for other libs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31262 a1c6a512-1295-4272-9138-f99709370657
2011-12-14mkimxboot: use common Makefile.Dominik Riebeling1-91/+12
Change mkimxboot to use the common Makefile. This will fix the object file clash when building libmkimxboot for linking with Rockbox Utility (will be needed for FS#12402). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31261 a1c6a512-1295-4272-9138-f99709370657
2011-12-14Rockbox Utility: pass BUILD_DIR to libs Makefiles.Dominik Riebeling1-0/+6
Pass a subdirectory of the build folder as BUILD_DIR to the called Makefiles. Not all do respect the value yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31260 a1c6a512-1295-4272-9138-f99709370657
2011-12-14mkmpioboot: use common Makefile.Dominik Riebeling2-98/+25
Extend common libtools.make with libucl dependency, which will be needed by other tools as well. Update mkmpioboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31259 a1c6a512-1295-4272-9138-f99709370657
2011-12-14Initial common Makefile for Rockbox Utility tools / libs.Dominik Riebeling2-82/+127
Introduce a new Makefile holding the common functionality for building tools used by Rockbox Utility (*patcher / mk*boot). This converts mktccboot to use the common Makefile. Also introduces BUILD_DIR variable to control the path used for placing intermediate objects into. This should avoid filename clashes between different tools. Filenames are (still) assumed to be unique withing a single tool. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31257 a1c6a512-1295-4272-9138-f99709370657
2011-12-13Remove duplicate entry in russian translation.Dominik Riebeling1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31236 a1c6a512-1295-4272-9138-f99709370657
2011-12-10mkamsboot: add support for sansa clip zip firmware version v1.01.18Bertrik Sikken1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31195 a1c6a512-1295-4272-9138-f99709370657
2011-12-08Various adjustments for MSVC.Dominik Riebeling3-3/+10
- MSVC uses different namings in some places. Adjust the sources via the preprocessor if build with MSVC. - MSVC doesn't know about __func__, use name instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31185 a1c6a512-1295-4272-9138-f99709370657
2011-12-07QuaZip: change the order of void-casts.Dominik Riebeling3-11/+11
MSVC requires void-casting of unused variables to be done after variable definitions. Change the order, no functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31171 a1c6a512-1295-4272-9138-f99709370657
2011-12-07Rockbox Utility: disable some pointless warnings when building with VS.Dominik Riebeling1-0/+1
Visual Studio warns about the usage of some standard library functions (like sprintf) as part of the SDL. Since we won't change using this functions for at least portability reasons we really don't need to know about them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31170 a1c6a512-1295-4272-9138-f99709370657
2011-12-07ipodpatcher: guard platform specific files.Dominik Riebeling3-0/+10
Use the preprocessor to make platform specific files compile as empty files if built for a different platform. This removes the need to distinguish in the Makefile and simplifies creating a libipodpatcher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31169 a1c6a512-1295-4272-9138-f99709370657
2011-12-07Make rbutil tools Makefile more silent.Dominik Riebeling1-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31168 a1c6a512-1295-4272-9138-f99709370657
2011-12-04sansapatcher: factor out handling of bundled bootloaders.Dominik Riebeling4-66/+80
Instead of handling bundled bootloaders in the sansapatcher functions leave that to the caller. This removes the need to have Rockbox Utility specific parts in sansapatcher. sansa_add_bootloader() now operates on an already loaded bootloader. For loading a convenience function sansa_read_bootloader() is added. This also introduces a new check on loading to prevent installing an e200 bootloader on a c200 (and vice versa). These changes will allow building a libsansapatcher for linking with Rockbox Utility later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31144 a1c6a512-1295-4272-9138-f99709370657
2011-12-04sansapatcher: guard platform specific files.Dominik Riebeling3-1/+14
Use the preprocessor to make platform specific files compile as empty files if built for a different platform. This removes the need to distinguish in the Makefile and simplifies creating a libsansapatcher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31143 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Add double inclusion protection and prepare for use with C++ code.Dominik Riebeling1-0/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31138 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Add missing include.Dominik Riebeling1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31137 a1c6a512-1295-4272-9138-f99709370657