summaryrefslogtreecommitdiff
path: root/package/xorg-server/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 20:57:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 20:57:34 +0200
commite095941418bffcb4f2afc03072eb1f045e39ed9d (patch)
treefa8bc6b267cb41b7f0d06a63d4e42b8025ccdf6d /package/xorg-server/Makefile
parent2b66b051d124ecc1966bcb8e2e1cfe76f9fc20b2 (diff)
enable Xfbdev subpackage
Diffstat (limited to 'package/xorg-server/Makefile')
-rw-r--r--package/xorg-server/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index 04e6471d5..063fa92e7 100644
--- a/package/xorg-server/Makefile
+++ b/package/xorg-server/Makefile
@@ -28,10 +28,11 @@ PKGSC_XORG_SERVER_DEV:= x11/devel
PKG_CFLINE_XORG_SERVER:=depends on ADK_TARGET_WITH_VGA
PKG_ARCH_DEPENDS:= !cris
-PKG_FLAVOURS_XORG_SERVER:= WITH_DRI
+PKG_FLAVOURS_XORG_SERVER:= WITH_DRI WITH_KDRIVE
PKGFS_WITH_DRI:= mesalib
PKGFD_WITH_DRI:= enable DRI/DRI2 support
PKGFB_WITH_DRI:= xf86driproto glproto dri2proto MesaLib
+PKGFD_WITH_KDRIVE:= Build Kdrive Xfbdev server
PKG_CHOICES_XORG_SERVER:= WITH_GCRYPT WITH_CRYPTO
PKGCD_WITH_GCRYPT:= use libgcrypt for SHA1
@@ -69,7 +70,6 @@ CONFIGURE_ARGS+= --enable-dga \
--disable-xf86bigfont \
--disable-xf86vidmode \
--disable-xfake \
- --disable-xfbdev \
--disable-xinerama \
--disable-xnest \
--disable-xselinux \
@@ -80,6 +80,12 @@ CONFIGURE_ARGS+= --enable-dga \
--with-os-vendor=OpenADK \
--with-vendor-web="http://openadk.org"
+ifeq (${ADK_PACKAGE_XORG_SERVER_WITH_KDRIVE},y)
+CONFIGURE_ARGS+= --enable-kdrive --enable-xfbdev --enable-kdrive-kbd --enable-kdrive-mouse --enable-kdrive-evdev
+else
+CONFIGURE_ARGS+= --disable-kdrive --disable-xfbdev
+endif
+
ifeq (${ADK_PACKAGE_XORG_SERVER_WITH_DRI},y)
CONFIGURE_ARGS+= --enable-dri --enable-dri2 --enable-glx
else
@@ -109,6 +115,10 @@ ifeq (${ADK_TARGET_SYSTEM_LEMOTE_YEELONG},y)
${CP} ./files/xorg.conf.lemote-yeelong \
$(IDIR_XORG_SERVER)/etc/X11/xorg.conf
endif
+ifeq (${ADK_TARGET_SYSTEM_SHARP_ZAURUS},y)
+ ${CP} ./files/xorg.conf.sharp-zaurus \
+ $(IDIR_XORG_SERVER)/etc/X11/xorg.conf
+endif
ifeq (${ADK_PACKAGE_XORG_SERVER_WITH_DRI},y)
${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*dri*.so \
$(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions