summaryrefslogtreecommitdiff
path: root/tools/ucl/src (follow)
Commit message (Collapse)AuthorAge
* OS X: detect clang and build for x86 target only.Dominik Riebeling2014-03-20
| | | | | | | | Newer versions of Xcode / OS X don't support PPC code anymore and replace gcc with clang. When clang is detected assume we want to build for the default architecture only and change the minimum OS X version to 10.5. Change-Id: I5843fa9bb3d957ec6f0a537e857608ad99c31517
* Don't pass ar output to /dev/null.Dominik Riebeling2013-06-09
| | | | | | | | | Since ar is not running in verbose mode there is normally no output to get rid of, and in case of errors it's useful to see them. Also, Windows doesn't know about /dev/null. Make dependency generation for librbspeex more silent as well. Change-Id: Ie0d4a406e665ebd67331d6cd1fa2fc02f8bf21b9
* ucl: Replace use of uname by checking the compiler output.Dominik Riebeling2013-05-11
| | | | | | | | Similar as done for libtools.make ask the compiler for the binary it creates instead of using uname to figure the target to avoid special handling when cross compiling. Change-Id: Icb4654616e4339bf9e6e3be5177b35e0bb313bcd
* Change mkdir -p to work on Windows.Dominik Riebeling2013-05-11
| | | | | | | | Windows mkdir doesn't know about the -p option and requires paths to use \ as path separator. Try to detect when building on Windows and use the Windows internal function instead of relying on a compatible mkdir in the path. Change-Id: I47d47d45edeb38c672321f77d6e91268bf744dba
* Fix ucl-related makefilesFrank Gevaerts2012-02-29
| | | | Change-Id: I5f2f896d34c242c9b365bd8ea823fa89647a366d
* Fix building mkamsboot on OS X.Dominik Riebeling2012-01-05
| | | | | | | | | | | | | | | | mkamsboot requires libucl to be linked. Since the introduction of libtools.make the OS X specific universal library isn't triggered anymore so the libucl built uses the wrong architecture. Rockbox Utility builds libucl by itself and still triggers the universal library rule. Since ar can create fat archives but not operate on them adjust the ar call to not try to update the archive -- the archive is created anyway, so asking for an update is not really necessary. Remove any old archive first to make sure we're not trying to update one, since that would now fail. As a result the OS X specific hackery to build both ppc and i386 in a single call isn't necessary anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31585 a1c6a512-1295-4272-9138-f99709370657
* ucl: make it possible to specify additional CFLAGSRafaël Carré2011-12-27
| | | | | | example: CFLAGS=-m32 make -C mkamsboot git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31450 a1c6a512-1295-4272-9138-f99709370657
* rbspeex, libucl: add rule to build DLL.Dominik Riebeling2011-12-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
* libucl: allow cross compiling via CROSS as well.Dominik Riebeling2011-12-14
| | | | | | | This will become necessary when cross compiling from other Makefiles without additionally passing the cross linker. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31258 a1c6a512-1295-4272-9138-f99709370657
* Prevent unnecessary rebuilding of libs.Dominik Riebeling2011-09-26
| | | | | | | | | | | | - When building for Rockbox Utility the called Makefiles would rebuild the libs every time. Change dependencies a bit to allow make to properly detect if the lib is already up to date. - Remove dependency on output folder in some cases to avoid unnecessary rebuilds. - Add standard Rockbox header to files lacking it. - Make make calls from qmake silent. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30608 a1c6a512-1295-4272-9138-f99709370657
* libucl: don't error out when output folder exists.Dominik Riebeling2011-02-26
| | | | | | | | Fixes building Rockbox Utility with multiple jobs since other libs could have created the output folder already. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29414 a1c6a512-1295-4272-9138-f99709370657
* Tweak Makefiles a bit to allow cross compiling Rockbox Utility.Dominik Riebeling2010-12-23
| | | | | | | | - pass AR to the lib Makefiles to make sure the correct one gets used. - create an archive index for archives. - simplify ucl Makefile a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
* Make lipo calls silent.Dominik Riebeling2009-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23982 a1c6a512-1295-4272-9138-f99709370657
* Fix building universal binaries.Dominik Riebeling2009-11-28
| | | | | | When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
* Handle TARGET_DIR in universal library building.Dominik Riebeling2009-11-28
| | | | | | Building universal libraries needs to take TARGET_DIR into account as when set the individual libraries are placed into the build output folder and didn't got found anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23778 a1c6a512-1295-4272-9138-f99709370657
* rbutil: modify buildsystem so you can build outside of the rbutilqt ↵Dominik Wenger2009-09-04
| | | | | | directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
* Explicitly set CC to prevent make trying to use cc instead. Fixes build ↵Dominik Riebeling2009-09-04
| | | | | | issues on w32. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22623 a1c6a512-1295-4272-9138-f99709370657
* Make libucl Makefile more silent.Dominik Riebeling2009-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22325 a1c6a512-1295-4272-9138-f99709370657
* libucl: move intermediate files into a build directory and allow to build a ↵Dominik Wenger2009-08-15
| | | | | | universal lib for macs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22324 a1c6a512-1295-4272-9138-f99709370657
* Removed executable flagLinus Nielsen Feltzing2007-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
* use 'ar' and 'ranlib' and not the variables that may be set to theDaniel Stenberg2006-04-20
| | | | | | | cross-compiled versions! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9742 a1c6a512-1295-4272-9138-f99709370657
* ranlib the .a file after creationDaniel Stenberg2006-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9513 a1c6a512-1295-4272-9138-f99709370657
* Fix silly 64 bit problem in uclpack.Jens Arnold2006-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9000 a1c6a512-1295-4272-9138-f99709370657
* use plain 'ar' for now as the $(AR) gets set to the cross-compiler version...Daniel Stenberg2005-11-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8101 a1c6a512-1295-4272-9138-f99709370657
* initial build adjustment for the Rockbox build systemDaniel Stenberg2005-11-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8091 a1c6a512-1295-4272-9138-f99709370657
* Initial check-in of (stripped-down) UCL data compression library v 1.01Jens Arnold2005-11-27
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8087 a1c6a512-1295-4272-9138-f99709370657