patch-2.4.4 linux/drivers/sgi/char/Makefile

Next file: linux/drivers/sound/Config.in
Previous file: linux/drivers/sgi/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/sgi/char/Makefile linux/drivers/sgi/char/Makefile
@@ -8,25 +8,12 @@
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
 O_TARGET := sgichar.o
-OX_OBJS := newport.o
-O_OBJS   := sgicons.o \
-	usema.o shmiq.o streamable.o
 
-ifeq ($(CONFIG_SGI_SERIAL),y)
-  O_OBJS += sgiserial.o
-endif
+export-objs	:= newport.o shmiq.o sgicons.o usema.o
+obj-y		:= newport.o shmiq.o sgicons.o usema.o streamable.o
 
-ifeq ($(CONFIG_SGI_DS1286),y)
-  O_OBJS += ds1286.o
-endif
-
-ifeq ($(CONFIG_SGI_NEWPORT_GFX),y)
-  O_OBJS +=  graphics.o rrm.o
-else 
-ifeq ($(CONFIG_SGI_NEWPORT_GFX),m)
-  OX_OBJS  +=  graphics_syms.o
-  MX_OBJS +=  graphics.o rrm.o
-endif
-endif
+obj-$(CONFIG_SGI_SERIAL)	+= sgiserial.o
+obj-$(CONFIG_SGI_DS1286)	+= ds1286.o
+obj-$(CONFIG_SGI_NEWPORT_GFX)	+= graphics.o rrm.o
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)