Building drivers when Xserver installed in $RPM_BUILD_ROOT

Donnie Berkholz spyderous at gentoo.org
Mon Aug 1 14:41:33 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan Dirsch wrote:
| Currently I'm using the following patch to build the drivers, because
| the Xserver is installed in $RPM_BUILD_ROOT and otherwise the include
| files won't be found. XORG_INCS + XORG_CFLAGS + DRI_CFLAGS needs to be
| set for this, e.g.
|
|   export XORG_CFLAGS="$(pkg-config --cflags xorg-server)
- -I$RPM_BUILD_ROOT/usr/include -I$RPM_BUILD_ROOT/usr/include/xorg"
|   export DRI_CFLAGS="$(pkg-config --cflags xf86driproto)
- -I$RPM_BUILD_ROOT/usr/include/ -I$RPM_BUILD_ROOT/usr/include/X11/dri
- -I$RPM_BUILD_ROOT/usr/include/xorg"
|   export XORG_INCS="-I$RPM_BUILD_ROOT/usr/include/
- -I$RPM_BUILD_ROOT/usr/include/xorg"
|
| Any ideas how to do it without this huge patch or with an improved
| version of this patch? BTW, hunks for xf86-video-sun*/xf86-video-tga
| are missing since I don't build them (on Linux).

Is there some reason you need to do this? Why not just install the
server before building the drivers? That's what I'm doing.

Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC7af8XVaO67S1rtsRAm8eAKDFWFl+8U/+BZKv3HxtESjLIszT6wCfX0FB
/uBzX90fw4iMyuDTfFs8H/o=
=ieUX
-----END PGP SIGNATURE-----


More information about the xorg-modular mailing list