patch-2.4.0-prerelease linux/arch/ppc/8260_io/Makefile

Next file: linux/arch/ppc/8xx_io/Makefile
Previous file: linux/arch/m68k/sun3x/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/arch/ppc/8260_io/Makefile linux/arch/ppc/8260_io/Makefile
@@ -7,14 +7,11 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
-O_TARGET := 8260_io.a
-O_OBJS	= commproc.o uart.o
+O_TARGET		:= 8260_io.o
 
-ifdef CONFIG_FEC_ENET
-O_OBJS += fcc_enet.o
-endif
-ifdef CONFIG_SCC_ENET
-O_OBJS += enet.o
-endif
+obj-y			:= commproc.o uart.o
+
+obj-$(CONFIG_FEC_ENET)	+= fcc_enet.o
+obj-$(CONFIG_SCC_ENET)	+= enet.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)