Commit Graph

31 Commits

Author SHA1 Message Date
Thomas Petazzoni
73a84a6972 xserver_xorg-server: rename server-style configuration options
The BR2_PACKAGE_XSERVER_xorg and BR2_PACKAGE_XSERVER_tinyx options
used to select the style of X.org server to use are not named
consistently with the rest of the Buildroot options (in capital
letters and prefixed with the package name).

Therefore, we rename those options, and we take care to add the old
option names in the BR2_LEGACY infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-09 00:13:29 +01:00
Vellemans Noel
517e5395a1 mesa3d: requires host-libxml2 and host-python to generate some files
mesa3d now generates some C files at build time (related to the OpenGL
API) from XML files. This generation process is done using Python
scripts that require the libxml2 Python module.

Patch based on the initial work of Will Wagner (Thanks Will).

Signed-off-by: Vellemans Noel <noel.vellemans@visionbms.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-17 23:41:45 +01:00
Thomas Petazzoni
8bd0a20b14 mesa3d: add dependency on host-xutil_makedepend
The mesa3d now requires the makedepend host utility, otherwise, it
fails with:

configure: error: makedepend is required to build Mesa

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Noel Vellemans <Noel.Vellemans@visionBMS.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-14 20:15:10 +02:00
Peter Korsgaard
5ec86b56da mesa3d: bump version
Based on patch by Allan W. Nielsen. uClibc patch based on patch in OE.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-22 20:45:21 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
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