patch-2.4.0-prerelease linux/drivers/net/skfp/Makefile

Next file: linux/drivers/net/smc9194.c
Previous file: linux/drivers/net/sk98lin/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/net/skfp/Makefile linux/drivers/net/skfp/Makefile
@@ -2,22 +2,12 @@
 # Makefile for the SysKonnect FDDI PCI adapter driver
 #
 
-ifeq ($(CONFIG_SKFP),y)
-    O_TARGET := skfp.o
-    O_OBJS =  skfddi.o    hwmtm.o    fplustm.o  smt.o      cfm.o     \
+O_TARGET := skfp.o
+obj-y :=      skfddi.o    hwmtm.o    fplustm.o  smt.o      cfm.o     \
               ecm.o       pcmplc.o   pmf.o      queue.o    rmt.o     \
 	      smtdef.o    smtinit.o  smttimer.o srf.o      lnkstat.o \
               smtparse.o  hwt.o      drvfbi.o   ess.o
-else
-  ifeq ($(CONFIG_SKFP),m)
-    M_OBJS := skfp.o
-    O_TARGET := skfp.o
-    O_OBJS =  skfddi.o    hwmtm.o    fplustm.o  smt.o      cfm.o     \
-              ecm.o       pcmplc.o   pmf.o      queue.o    rmt.o     \
-	      smtdef.o    smtinit.o  smttimer.o srf.o      lnkstat.o \
-              smtparse.o  hwt.o      drvfbi.o   ess.o
-  endif
-endif
+obj-m := skfp.o
 
 # NOTE:
 #   Compiling this driver produces some warnings (and some more are 

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