summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-12-03 17:04:45 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-12-03 17:04:45 +0000
commit26f9c4305660c2b3dc7fe8d214bcdd3c24e1b198 (patch)
tree755dd8493d0a89c8184a1ad5690b95e51300366f /hw
parent98231c6b38c98976f4ac2b9417ecfbc37a8cbe9a (diff)
Bugzilla #4809 <https://bugs.freedesktop.org/show_bug.cgi?id=4809> Patch
#3908 <https://bugs.freedesktop.org/attachment.cgi?id=3908> xf8_32wid and cfb24 only need to be built on sparc
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/Makefile.am7
-rw-r--r--hw/xfree86/dixmods/Makefile.am7
2 files changed, 11 insertions, 3 deletions
diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
index 281498904..058015095 100644
--- a/hw/xfree86/Makefile.am
+++ b/hw/xfree86/Makefile.am
@@ -4,11 +4,14 @@ endif
DOC_SUBDIR = doc
+if BUILD_XF8_32WID
+XF8_32WID_SUBDIR=xf8_32wid
+endif
SUBDIRS = common ddc dummylib i2c x86emu int10 fbdevhw os-support parser rac \
ramdac shadowfb vbe vgahw xaa xf1bpp xf4bpp xf8_16bpp \
- xf8_32bpp xf8_32wid loader scanpci dixmods exa $(DRI_SUBDIR) utils \
- $(DOC_SUBDIR) getconfig
+ xf8_32bpp $(XF8_32WID_SUBDIR) loader scanpci dixmods exa \
+ $(DRI_SUBDIR) utils $(DOC_SUBDIR) getconfig
DIST_SUBDIRS = common ddc dummylib i2c x86emu int10 fbdevhw os-support \
parser rac ramdac shadowfb vbe vgahw xaa xf1bpp xf4bpp \
diff --git a/hw/xfree86/dixmods/Makefile.am b/hw/xfree86/dixmods/Makefile.am
index dc7ee5092..1ed24fa94 100644
--- a/hw/xfree86/dixmods/Makefile.am
+++ b/hw/xfree86/dixmods/Makefile.am
@@ -10,10 +10,15 @@ if XTRAP
XTRAPMOD = libxtrap.la
endif
+# cfb24 is only used by xf8_32wid, which is only used by sunffb on SPARC
+if BUILD_XF8_32WID
+CFB24MOD = libcfb24.la
+endif
+
module_LTLIBRARIES = libafb.la \
libcfb.la \
libcfb16.la \
- libcfb24.la \
+ $(CFB24MOD) \
libcfb32.la \
libfb.la \
liblayer.la \