Commit Graph

33 Commits

Author SHA1 Message Date
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Daniel Laird
5432f26f0e Adding Central config.cache options
The following changes allow for use of a central configure cache
file.  This speeds up configuration of packages.
Its use is configurable at the top level (BR2_CONFIG_CACHE - default n).
Old style makefiles can use it if they use the following MACRO in makefiles:
$(AUTO_CONFIGURE_TARGET) see my change to directfb.mk.
New style Autotools.in will use it if you set the global option.
However you can enable the global option and on a per package overrule it by doing
the following: $(PKGNAME)_USE_CONFIG_CACHE = NO see fontconfig.mk for an example 
of this.
Finally I have removed a few config variable settings which indicated no CXX compiler
as this is wrong and breaks the build when using this central cache.

 Config.in                        |    8 ++++++++
 package/Makefile.autotools.in    |    5 ++++-
 package/Makefile.in              |   28 +++++++++++++++++++++++++++-
 package/atk/atk.mk               |    2 +-
 package/directfb/directfb.mk     |    7 +------
 package/fontconfig/fontconfig.mk |    3 +++
 package/libglib2/libglib2.mk     |    2 +-
 package/libgtk2/libgtk2.mk       |    1 -
 8 files changed, 45 insertions(+), 11 deletions(-)

I would appreciate feedback on this change (I have been testing for 2-3 weeks)
But I can never test all cases!  If you enable the BR2_CONFIG_CACHE option some
Makefile.autotools.in based packages may now break - I cannot build them all.
In this case you may need to remove config options that are being hardcoded all
over the place (like gtk saying we have 2 CXX compiler) or disable the use
of CONFIG CACHE file like I have done in fontconfig.
I can build all packages required to get WebKit on DirectFB up and running
and it runs fine.
I will try to resolve any issues this creates as fast as I can.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-11-28 14:20:47 +00:00
Thiago A. Corrêa
d45cc3d36f Fix dependency on libungif 2008-10-09 18:36:36 +00:00
Thiago A. Corrêa
8a12bab608 widen options to configure directfb, patch by Micha Nelissen <micha@neli.hopto.org> 2008-10-07 20:29:27 +00:00
Peter Korsgaard
ea471ffff9 direct: don't fail clean target if directory doesn't exist
Patch by Hebbar.
2008-04-01 06:51:59 +00:00
Ivan Kuten
e200c1b15d fix 0001595 issue 2007-11-16 16:10:25 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
26cdd6f6c0 - make sure that configure doesn't see a wrong cache 2007-09-25 12:34:09 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Ulf Samuelsson
079929e764 Remove whitespace 2007-09-12 05:20:26 +00:00
Ulf Samuelsson
6a9945eba5 Bump DirectFB version, and enable/disable X11 2007-09-05 06:49:57 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Ulf Samuelsson
d6a4c8a6f8 Add dependency to linux-fusion, if DirectFB is built with multi 2007-08-13 06:14:15 +00:00
Ulf Samuelsson
1644a077bc fix DirectFB *.la path's 2007-08-12 23:30:06 +00:00
Ulf Samuelsson
fee06da798 Bump version of DirectFB to 1.0.0 and add dependency on TSLIB 2007-08-12 18:21:27 +00:00
Ulf Samuelsson
e63e6104e5 Make DirectFB buildable by removing sysfs, enabling sdl 2007-08-12 14:40:16 +00:00
Ulf Samuelsson
7cf18d30ae Use /usr/lib instead of /lib for directfb 2007-08-11 21:53:18 +00:00
"Steven J. Hill"
9a4ca08e5f Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next. 2007-07-06 04:26:32 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Bernhard Reutner-Fischer
b127e7696b - force DirectFB to detect PAGE_SIZE via sysconf (Ivan Kuten) 2007-06-26 06:24:37 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Peter Korsgaard
e42dc3a5b7 0.9.25.1 release moved to Old. Reported by Jack Robinson 2007-02-02 12:41:16 +00:00
Eric Andersen
732d94d25f fixup a whole steaming pile of insanity. When packages are configured,
they should be configured with --prefix=/usr and we then need to use
make DESTDIR=$(STAGING_DIR) install to get things installed into the
staging directory.  The current situation for many packages, which use
--prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled
into the binary itself.

This also adds in a pile of libtool fixups.  Between broken pkgconfig,
broken libtool handling, and broken --prefix settings, its a wonder
things have worked as well as they have up till now.
 -Erik
2007-01-14 03:52:21 +00:00
Bernhard Reutner-Fischer
6342c83201 - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-10-01 15:17:52 +00:00
Eric Andersen
c4ad37ff4e disable sdl build 2006-07-10 22:28:09 +00:00
Eric Andersen
317408b4fa minor tweak 2006-06-23 07:00:53 +00:00
Eric Andersen
4a01900a8d tyler writes:
libdirectfb* is copied to target, but when the package builds it also builds
libdirect* and libfusion*, which libdirectfb will call upon, but they are not
copied along with libdirectfb.
2006-04-06 17:43:28 +00:00
Eric Andersen
b607f5cdc3 tyler writes:
Building DirectFB compiles fine and installs fine, but when running on the
target the libraries look for DirectFB modules within a path that was defined
as $(PREFIX) during the build. Under buildroot PREFIX is set to
$(STAGING_DIR)/usr, which obviously doesn't exist on the target so it dies.

Instead, it should be built such that PREFIX=/usr then have prefix &
exec_prefix set to $(STAGING_DIR)/usr when it's time to install.
2006-04-06 17:40:47 +00:00
Mike Frysinger
9fa11e9e5d version bump #561 2005-11-24 19:52:39 +00:00
Mike Frysinger
dfebda0014 remove extra space after touch 2005-11-24 06:53:24 +00:00
Mike Frysinger
33fabb1d3a disable some drivers, touchup build system, and install into STAGING_DIR prefix 2005-09-08 00:33:03 +00:00
Eric Andersen
dfba3cfed9 http://bugs.uclibc.org/view.php?id=189 2005-04-26 06:26:14 +00:00