devices/Kbuild.in
branchstable-1.4
changeset 1639 d4db7ad736a5
parent 1074 a82793a6d1a0
child 1640 59ab2130a859
equal deleted inserted replaced
1638:d46adcf20d22 1639:d4db7ad736a5
    51 	obj-m += ec_e100.o
    51 	obj-m += ec_e100.o
    52 	ec_e100-objs := $(EC_E100_OBJ)
    52 	ec_e100-objs := $(EC_E100_OBJ)
    53 	CFLAGS_$(EC_E100_OBJ) = -DSVNREV=$(REV)
    53 	CFLAGS_$(EC_E100_OBJ) = -DSVNREV=$(REV)
    54 endif
    54 endif
    55 
    55 
    56 ifeq (@ENABLE_FORCEDETH@,1)
       
    57 	EC_FORCEDETH_OBJ := forcedeth-@KERNEL_FORCEDETH@-ethercat.o
       
    58 	obj-m += ec_forcedeth.o
       
    59 	ec_forcedeth-objs := $(EC_FORCEDETH_OBJ)
       
    60 	CFLAGS_$(EC_FORCEDETH_OBJ) = -DSVNREV=$(REV)
       
    61 endif
       
    62 
       
    63 ifeq (@ENABLE_E1000@,1)
    56 ifeq (@ENABLE_E1000@,1)
    64 	obj-m += e1000/
    57 	obj-m += e1000/
    65 endif
    58 endif
    66 
    59 
    67 ifeq (@ENABLE_R8169@,1)
       
    68 	EC_R8169_OBJ := r8169-@KERNEL_R8169@-ethercat.o
       
    69 	obj-m += ec_r8169.o
       
    70 	ec_r8169-objs := $(EC_R8169_OBJ)
       
    71 	CFLAGS_$(EC_R8169_OBJ) = -DSVNREV=$(REV)
       
    72 endif
       
    73 
       
    74 #------------------------------------------------------------------------------
    60 #------------------------------------------------------------------------------