diff options
author | Robert Bragg <bob@openedhand.com> | 2008-09-22 13:33:19 +0000 |
---|---|---|
committer | Robert Bragg <bob@openedhand.com> | 2008-09-22 13:33:19 +0000 |
commit | 3de4627417e62595ce4349cb3a13c9180f8e6bfd (patch) | |
tree | 37c5f48d49ce9702fb164ca4fe47433f59cd838a /meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc | |
parent | 9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07 (diff) | |
download | poky-3de4627417e62595ce4349cb3a13c9180f8e6bfd.tar.gz |
Adds recipes to support building X servers based on the xfree86 DDX instead
of kdrive and building mesa. It's a big commit and it's still rather rough
around the edges, but there is a desire to get this in early so people can
review the work and help polish the changes.
Some of the notable bits:
• DRI support in mesa and the X server. (configured in machine conf via
MACHINE_DRI_MODULES variable)
• XCB backend for xlib
• A fairly lite X server build with lots of legacy modules disabled.
I'm sure there is plenty of other fairly low hanging fruit if we want to
put more effort into reducing the size of the xserver build. Currently the
server build comes in @ ~2.3MB vs a kdrive fbdev server build @ ~1MB. E.g
xaa could be made conditional to save ~320K. Of course the kdrive server
doesn't include glx stuff, which is a pretty big chunk.
Also thanks to hrw, since I nabbed a some patches from him for this, and RP,
for various bits of Poky style advice.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5205 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc b/meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc new file mode 100644 index 0000000000..1cc7bdde4e --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | require xserver-xf86-common.inc | ||
2 | |||
3 | PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86rushproto xf86vidmodeproto xf86bigfontproto compositeproto recordproto resourceproto videoproto scrnsaverproto evieext trapproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto xf86driproto dri2proto" | ||
4 | |||
5 | LIB_DEPS = "pixman mesa-dri libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl" | ||
6 | |||
7 | DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" | ||
8 | |||
9 | RDEPENDS = "hal xorg-minimal-fonts" | ||
10 | |||
11 | FILES_${PN} += "${bindir}/Xorg " | ||
12 | |||
13 | EXTRA_OECONF += "--disable-cfb \ | ||
14 | --disable-afb \ | ||
15 | --disable-mfb \ | ||
16 | --disable-dga \ | ||
17 | --disable-xinerama \ | ||
18 | --disable-xf86misc \ | ||
19 | --disable-xorgcfg \ | ||
20 | --disable-dmx \ | ||
21 | --disable-xnest \ | ||
22 | --disable-xvfb \ | ||
23 | --enable-composite \ | ||
24 | --enable-dri \ | ||
25 | --enable-glx-tls \ | ||
26 | --sysconfdir=/etc/X11 \ | ||
27 | --localstatedir=/var \ | ||
28 | --with-fontdir=/usr/share/fonts/X11 \ | ||
29 | --with-xkb-output=/var/lib/xkb \ | ||
30 | ac_cv_file__usr_share_sgml_X11_defs_ent=no" | ||
31 | |||