patch-2.1.124 linux/arch/ppc/8xx_io/Makefile

Next file: linux/arch/ppc/8xx_io/commproc.c
Previous file: linux/arch/i386/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/arch/ppc/8xx_io/Makefile linux/arch/ppc/8xx_io/Makefile
@@ -8,6 +8,12 @@
 # Note 2! The CFLAGS definition is now in the main makefile...
 
 O_TARGET := 8xx_io.a
-O_OBJS	= commproc.o uart.o enet.o
+O_OBJS	= commproc.o uart.o
+ifdef CONFIG_MBX
+O_OBJS += enet.o
+endif
+ifdef CONFIG_FADS
+O_OBJS += fec.o
+endif
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov