Commit Graph

26 Commits

Author SHA1 Message Date
Peter Korsgaard
5d425d3334 mesa3d: fix build
We build mesa3d with dri support, which doesn't work with static builds,
so disable it.

From configure.ac:

dri)
    # DRI must be shared, I think
    if test "$enable_static" = yes; then
        AC_MSG_ERROR([Can't use static libraries for DRI drivers])
    fi

At the same time fixup minor style issues (:= vs =, long lines).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-06 17:22:38 +01:00
Peter Korsgaard
80a7e8216e mesa3d: don't depend on the X server
There's no particular reason why you shouldn't be able to build mesa
without the X server (E.G. for remote X), so remove it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-06 17:14:39 +01:00
Thomas Petazzoni
42a28105f1 x11r7: AUTORECONF=NO is the default, remove
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-05 20:23:33 +02:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Peter Korsgaard
d741cf7c62 mesa3d: ensure it can only be compiled with modular X server
kdrive has no glx support, and mesa3d depends on libdrm which needs
largefile support (just like the modular server), so ensure mesa3d
can only be enabled in that configuration.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27 21:12:25 +01:00
Thomas Petazzoni
478ea1a12d packages: remove unneeded _INSTALL_TARGET_OPT definitions
Now that <pkg>_INSTALL_TARGET_OPT always defaults to
'DESTDIR=$(TARGET_DIR) install', we can remove the
<pkg>_INSTALL_TARGET_OPT definition from a lot of packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-27 15:32:32 +02:00
Will Wagner
4e67ed412e mesa3d: bump version and convert to autotools
Note this version requires a recent kernel with KMS support as it is
currently configured

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:38:21 +02:00
William Wagner
c68bef7c00 mesa3d/makedepend: correct host package names after autotools change
Signed-off-by: William Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-18 17:18:49 +01:00
Clark Rawlins
249f3db999 mesa3d: Pass LDFLAGS to the build config file
Closes #559.

Without the LDFLAGS in the build configuration file
building mesa3d fails with an external toolchain on amd64
machines targeting i686.  The error indicats that libX11
can't be found.

This change passes the --sysroot parameter (along with any
others specified by buildroot for LDFLAGS to the mklib script.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 20:13:28 +01:00
Peter Korsgaard
d0f902e82e mesa3d: compile makedepend (and in turn xproto) for the host
The mesa3d build needs makedepend on the host, so compile one in $HOST_DIR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-18 00:16:48 +02:00
Peter Korsgaard
3c1d6d8fc7 mesa: needs C++ support
mesa (and in turn xorg) needs C++ support.
Based on patch by Steffen Schulz <pepe_ml@gmx.net>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19 17:34:49 +02:00
Jim Persson
ab59a44160 mesa: fix build for x86
mesa wants to compile and run gen_matypes at build time, so make sure it
gets compiled for the host and not for the target.

Closes #323.

Signed-off-by: Jim Persson <spambox@nurd.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19 14:22:48 +02:00
Peter Korsgaard
a5eae2a83e mesa3d: sync kconfig deps with makefile 2009-03-23 12:50:05 +00:00
Peter Korsgaard
59b0aa7a7e x11r7: update to 7.4
Patch by Dan Lykowski <lykowdk@gmail.com>, closes #181.

Minor fixups for kdrive by me.
2009-03-14 14:59:14 +00:00
Peter Korsgaard
895cf9e27d mesa3d: fix makedepend arguments
Make sure makedepends only searches the gcc/staging dir, and not the
host include dirs.
2009-02-24 13:30:03 +00:00
Peter Korsgaard
af098e8dfe mesa: use correct config file for arch 2009-02-24 13:29:59 +00:00
Peter Korsgaard
e51884daa8 mesa3d: use MAKE1 instead of playing around with BR2_JLEVEL 2009-02-24 13:29:55 +00:00
Peter Korsgaard
30392a1bef xserver-xorg: select mesa3d in kconfig
xserver-xorg depends on mesa3d, so select it in kconfig as well.
2009-02-24 13:29:50 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
ce10930774 mesa: bump version
Based on googlecode r559 by John Voltz.
2008-06-30 13:06:02 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Ulf Samuelsson
34335d0295 Correct mesa3d-source, use correct patch directory 2007-08-11 10:08:13 +00:00
Eric Andersen
a7e49eb2af Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn't
quite work yet for me, but this clearly is a huge project and not having it
quite work on the first pass is hardly unexpected.  We definately want this
stuff in buildroot.
2007-08-10 19:07:51 +00:00