summaryrefslogtreecommitdiff
path: root/linux-core/Makefile
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-04-22 11:31:55 +0000
committerDave Airlie <airlied@linux.ie>2004-04-22 11:31:55 +0000
commit87812e82f45d5ca81fd0603d6bd54854831c9174 (patch)
treebbae0704f28a6c08267bc8e2cea06c4716468f71 /linux-core/Makefile
parent0edc2abf8414f6fa414aa4071f4fa9ccbee186a7 (diff)
add sparc ffb files from kernel just to keep things in sync
Diffstat (limited to 'linux-core/Makefile')
-rw-r--r--linux-core/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/linux-core/Makefile b/linux-core/Makefile
index dc21459a..c5149b28 100644
--- a/linux-core/Makefile
+++ b/linux-core/Makefile
@@ -52,7 +52,10 @@ ARCHX86 := 1
MODULE_LIST += i830.o i810.o
endif
-# Add ffb.o for sparc??
+ifneq (,$(findstring sparc64,$(MACHINE)))
+ARCHSPARC64 := 1
+MODULE_LIST += ffb.o
+endif
DRM_MODULES ?= $(MODULE_LIST)
@@ -93,6 +96,7 @@ MACH64HEADERS = mach64.h mach64_drv.h mach64_drm.h $(DRMHEADERS) \
$(DRMTEMPLATES)
MACH64SHARED = mach64.h mach64_drv.h mach64_drm.h mach64_dma.c \
mach64_irq.c mach64_state.c
+FFBHEADERS = ffb.h ffb_drv.h $(DRMHEADERS) $(DRMTEMPLATES)
SHAREDSRC = $(DRMSHARED) $(MGASHARED) $(R128SHARED) $(RADEONSHARED) \
$(SISSHARED) $(TDFXSHARED) $(VIASHARED) $(MACH64SHARED)
@@ -340,8 +344,9 @@ endif
ifneq (,$(findstring mach64,$(DRM_MODULES)))
CONFIG_DRM_MACH64 := m
endif
-
-
+ifneq (,$($findstring ffb,$(DRM_MODULES)))
+CONFIG_DRM_FFB := m
+endif
# These require AGP support