patch-2.3.48 linux/arch/mips/dec/Makefile

Next file: linux/arch/mips/dec/irq.c
Previous file: linux/arch/mips/ddb5074/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/arch/mips/dec/Makefile linux/arch/mips/dec/Makefile
@@ -13,7 +13,7 @@
 
 all: dec.o
 O_TARGET := dec.o
-O_OBJS	 := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o wbflush.o
+O_OBJS	 := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o
 
 ifdef CONFIG_PROM_CONSOLE
 O_OBJS   += promcon.o
@@ -21,6 +21,12 @@
 
 ifdef CONFIG_SERIAL
 O_OBJS   += serial.o
+endif
+
+ifeq ($(CONFIG_MODULES),y)
+ OX_OBJS  = wbflush.o
+else
+ O_OBJS   += wbflush.o
 endif
 
 int-handler.o:	int-handler.S

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