Commit graph

24 commits

Author SHA1 Message Date
Frank Gevaerts
f0ecce9ee5 Fix ucl-related makefiles
Change-Id: I5f2f896d34c242c9b365bd8ea823fa89647a366d
2012-02-29 12:30:28 +01:00
Dominik Riebeling
1a26524d01 Fix building mkamsboot on OS X.
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
2012-01-05 21:23:35 +00:00
Rafaël Carré
f77353c71a ucl: make it possible to specify additional CFLAGS
example: CFLAGS=-m32 make -C mkamsboot

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31450 a1c6a512-1295-4272-9138-f99709370657
2011-12-27 00:12:35 +00:00
Dominik Riebeling
71c62c3e1b rbspeex, libucl: add rule to build DLL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 21:10:25 +00:00
Dominik Riebeling
29937388fd libucl: allow cross compiling via CROSS as well.
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
2011-12-14 21:59:51 +00:00
Dominik Riebeling
c7c657ca92 Prevent unnecessary rebuilding of libs.
- 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
2011-09-26 20:51:23 +00:00
Dominik Riebeling
12ace922d5 libucl: don't error out when output folder exists.
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
2011-02-26 22:40:11 +00:00
Dominik Riebeling
e1b1183f40 Tweak Makefiles a bit to allow cross compiling Rockbox Utility.
- 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
2010-12-23 18:59:58 +00:00
Dominik Riebeling
69a5ff7f8a Make lipo calls silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23982 a1c6a512-1295-4272-9138-f99709370657
2009-12-13 21:30:28 +00:00
Dominik Riebeling
f0d0ba86ff Fix building universal binaries.
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
2009-11-28 22:39:05 +00:00
Dominik Riebeling
cca6f747f8 Handle TARGET_DIR in universal library building.
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
2009-11-28 22:39:00 +00:00
Dominik Wenger
4d86861ce5 rbutil: modify buildsystem so you can build outside of the rbutilqt 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
2009-09-04 21:31:17 +00:00
Dominik Riebeling
4dd44bffb0 Explicitly set CC to prevent make trying to use cc instead. Fixes build issues on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22623 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 19:54:18 +00:00
Dominik Riebeling
7c74723594 Make libucl Makefile more silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22325 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:25:43 +00:00
Dominik Wenger
044aae2951 libucl: move intermediate files into a build directory and allow to build a universal lib for macs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22324 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:10:00 +00:00
Linus Nielsen Feltzing
e2022a26d0 Removed executable flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Daniel Stenberg
76c1cde007 use 'ar' and 'ranlib' and not the variables that may be set to the
cross-compiled versions!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9742 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 11:56:51 +00:00
Daniel Stenberg
231d1d255c ranlib the .a file after creation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9513 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 12:56:05 +00:00
Jens Arnold
1246668a78 Fix silly 64 bit problem in uclpack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9000 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 13:30:31 +00:00
Jens Arnold
0deb8c036a Fix 'make clean' in tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8878 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 23:40:55 +00:00
Daniel Stenberg
10a1eac917 use plain 'ar' for now as the $(AR) gets set to the cross-compiler version...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8101 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 22:53:14 +00:00
Daniel Stenberg
9c591f8535 initial build adjustment for the Rockbox build system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8091 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 00:03:59 +00:00
Jens Arnold
4923f49c6f Patch by Joerg Hohensohn to create uncompressed .ucl files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8088 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 23:44:25 +00:00
Jens Arnold
7c21a96e9a Initial check-in of (stripped-down) UCL data compression library v 1.01
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8087 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 23:41:55 +00:00