summaryrefslogtreecommitdiff
path: root/package/xorg-server
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-06-12 15:58:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-06-12 15:58:30 +0200
commit0ea897e395144229eb89180a6469b67260624a58 (patch)
tree87c0f2e6032d32b0565500e25615e2c3de2d5763 /package/xorg-server
parent2ca840b83ddd797f872bd6cc282991ec2b60e3ed (diff)
add yeelong specific xorg config
Diffstat (limited to 'package/xorg-server')
-rw-r--r--package/xorg-server/Makefile4
-rw-r--r--package/xorg-server/files/xorg.conf.lemote-yeelong54
2 files changed, 57 insertions, 1 deletions
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index 652cd0ba7..8d2311990 100644
--- a/package/xorg-server/Makefile
+++ b/package/xorg-server/Makefile
@@ -103,8 +103,10 @@ xorg-server-install:
$(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
${CP} ${WRKINST}/usr/lib/xorg/modules/multimedia/*.so \
$(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
- -$(CP) $(TOPDIR)/target/$(ADK_TARGET)/xorg.conf \
+ifeq (${ADK_TARGET_SYSTEM_LEMOTE_YEELONG},y)
+ ${CP} ./files/xorg.conf.lemote-yeelong \
$(IDIR_XORG_SERVER)/etc/X11
+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
diff --git a/package/xorg-server/files/xorg.conf.lemote-yeelong b/package/xorg-server/files/xorg.conf.lemote-yeelong
new file mode 100644
index 000000000..4556c3b9c
--- /dev/null
+++ b/package/xorg-server/files/xorg.conf.lemote-yeelong
@@ -0,0 +1,54 @@
+Section "ServerLayout"
+ Identifier "Default Layout"
+ Screen "Default Screen"
+ Option "AIGLX" "false"
+EndSection
+
+Section "ServerFlags"
+ Option "NoTrapSignals"
+EndSection
+
+Section "Module"
+ Load "vgahw"
+ Load "fb"
+ Load "exa"
+ Load "xaa"
+ Load "int10"
+ Load "ddc"
+ Load "i2c"
+ Load "vbe"
+ Disable "glx"
+ Disable "dri"
+EndSection
+
+Section "Device"
+ Identifier "card0"
+ Driver "siliconmotion"
+ VendorName "Silicon Motion, Inc."
+ BoardName "SM712 LynxEM+"
+ BusID "PCI:0:8:0"
+ Option "AccelMethod" "EXA"
+ Option "pci_burst" "true"
+ Option "HWCursor" "false"
+ Option "SWCursor" "true"
+ Option "UseBIOS" "false"
+ Option "PanelSize" "1024x600"
+EndSection
+
+Section "Monitor"
+ Identifier "Generic Monitor"
+ Option "DPMS" "true"
+ HorizSync 30-70
+ VertRefresh 50-80
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Device "card0"
+ Monitor "Generic Monitor"
+ DefaultDepth 16
+ SubSection "Display"
+ Modes "1024x600"
+ EndSubSection
+EndSection
+