path: root/utils/common/
AgeCommit message (Collapse)AuthorFilesLines
2020-07-26deploy: Simplify retrieving CPU count.Dominik Riebeling1-10/+5
The multiprocessing module is part of Python since 2.6, so no need to do an extra check here. Change-Id: If1c223edf9f04b6de8fdf757ba00f79897783a53
2020-06-13deploy: Support Python3.Dominik Riebeling1-17/+17
Change-Id: Iff92a1f6a918f7da80f26f1a9ca02a6f6f082b7d
2020-06-13deploy: Fix various style issues.Dominik Riebeling1-74/+75
Fix various pylint issues and some python3 compatibility. Change-Id: I2c35ccc5ad2d0902c229f9de57912cf6d5a83ece
2020-06-13deploy: Add missing Windows system libraries to known list.Dominik Riebeling1-3/+18
Building with mxe failed due to the toolchain (and Qt5) introducing dependencies to system libraries we don't know about. Commit 3083abeb95 thus ignored the actual problem. Revert that and instead add the missing system libraries to the list of known libraries. Change-Id: I29ac296765e580b751d3d906d58ab563d05efde2 allow zipball building to proceed if no DLLs are foundFranklin Wei1-1/+1
This helps with MXE static builds, which were failing because no DLLs were found. Change-Id: Id3fcdf9a7682a9ecb6a5892415077bf16e8b24cb
2016-01-17update to recognize and use Qt5Cástor Muñoz1-1/+1
Change-Id: Ied8c9d153a34bd8b689a34e45708262cede5348d
2015-06-07Append build date when building dev version from local foler.Dominik Riebeling1-1/+2
Change-Id: I1172cb0c4910f1d49b6a5d1125a809491a5aba9c
2015-05-30Make revision handling work when building from local folder.Dominik Riebeling1-3/+2
Change-Id: I8e6cc0eb8a5bff722bf5278ffa7685436c3d846a
2015-05-30Fix path creation for zip file names in current folder.Dominik Riebeling1-5/+1
When building in the current tree (i.e. buildfolder ending up as '.') creating the filename to use in the zip file stripped all '.' characters. Use a different way to create the filename to avoid this. Change-Id: I139c404d5e83a8bcb028a9a22b125f238911e405
2015-05-30Update findversion for change version.h format.Dominik Riebeling1-7/+6
version.h doesn't store the version number as string anymore. Update findversion to use the individual values instead. Change-Id: I6bf0fdd4420d41279b44cffd22b42febbfc778ce
2012-03-06Correctly insert build ID.Dominik Riebeling1-3/+6
Change-Id: I35a85ffd78bd0a56a31d6ba0abbd6102727155d4
2012-02-26Append "64bit" only on 64bit binary.Dominik Riebeling1-3/+12
Don't rely on the build host having the same bitsize as the created binary. Fixes building a 32bit binary getting a "64bit" postfix when built on a 64bit Linux. Change-Id: I2aa61dee82beddd60ebfc8e227551ea49d769664
2012-02-05Update deployment script for git.Dominik Riebeling1-40/+21
First and rather rough adjustment for git. There are still a lot of places referring to svn, and various functionality might be broken which needs fixing later. Change-Id: Ia628f06e99f527e01f131ce674746fba77d97d23
2011-08-14Remove use of module.Dominik Riebeling1-9/+12
Implement simple which functionality. This has less features than but is sufficient, and removing an external dependency is always good. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-05-08Fix BUILDID getting appended even if not set.Dominik Riebeling1-9/+9
Rename some stuff to make it clearer. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657 support adding a build id.Dominik Riebeling1-18/+34
Add support for passing and injecting a build ID to the souces prior to compiling. Allows to easily create rebuilds of Rockbox Utility without creating false positives on update detection. Fix a typo in version.h. Thanks to sideral for noting. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657 insert version number into sources.Dominik Riebeling1-0/+16
After downloading the sources insert the number of the revision checked out into the code. Results in the Rockbox Utility about dialog showing the actual revision instead of the one of the last change to version.h. Only applied when building from trunk for now. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-03-06Fix a potential variable problem. Change some messages a bit.Dominik Riebeling1-8/+9
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-03-06Support cross compiling for Windows target.Dominik Riebeling1-67/+78
Restructure by moving the platform decisions out of the calling scripts. This is necessary when cross compiling since this is only decided in Add support for passing a cross compiler prefix on the command line and always build targeting Windows if set. Correct some whitespace errors and long lines while at it. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-12-19Use more than one core in deployment script.Dominik Riebeling1-1/+12
Try to detect the number of cores in the system and use that value for make -j. Gives a noticable speedup depending on the system (OS X doesn't seem to benefit from it). git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-09-23Fix matching of DLL name in deployment script.Dominik Riebeling1-1/+1
Allow DLL filenames to contain the plus sign. Fixes libstdc++-6.dll not getting recognized as DLL. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-08-30Support resolving of DLLs when running on Windows.Dominik Riebeling1-13/+97
Resolve the DLLs required by the built executable and try to add the required DLL files that are not recognized as system libraries to the resulting zip / NSIS installer. This means that it's now possible to easily build both Theme Editor and Rockbox Utility as dynamically linked binary without the risk of missing required DLLs in the package. The major advantage of this is that it's not necessary anymore to have a statically built Qt installation for building releases. The drawback is that the created binaries will rely on additional DLL files, so it's no longer a single-run binary. Binary release of Rockbox Utility should still be statically build. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657 Figure installer filename from NSIS script.Dominik Riebeling1-2/+9
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-08-08Support running NSIS from deployment script.Dominik Riebeling1-5/+36
This requires a few workarounds since NSIS expects files in the source folder but the build scripts run out-of-tree. Only added for Theme Editor for now, since Rockbox Utility doesn't have a NSIS script yet (and an installer for Rockbox Utility might not be that useful). git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-07-28Correct OS X post-build bundle copying.Dominik Riebeling1-2/+3
Make copying files to the bundle work when building other applications than Rockbox Utility by replacing a hardcoded workaround. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-07-28Add deployment script for Theme Editor.Dominik Riebeling1-0/+497
Also move scripts to utils folder, in preparation of merging rbutil and utils folders. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657