devices/e1000e/Kbuild.in
branchstable-1.5
changeset 2491 5e9221a78855
parent 2421 bc2d4bf9cbe5
child 2585 26480934a057
equal deleted inserted replaced
2490:6ad972f38438 2491:5e9221a78855
    40 	fi)
    40 	fi)
    41 
    41 
    42 ifeq (@ENABLE_E1000E@,1)
    42 ifeq (@ENABLE_E1000E@,1)
    43 	EC_E1000E_OBJ := \
    43 	EC_E1000E_OBJ := \
    44 		82571-@KERNEL_E1000E@-ethercat.o \
    44 		82571-@KERNEL_E1000E@-ethercat.o \
    45 		es2lan-@KERNEL_E1000E@-ethercat.o \
       
    46 		ethtool-@KERNEL_E1000E@-ethercat.o \
    45 		ethtool-@KERNEL_E1000E@-ethercat.o \
    47 		ich8lan-@KERNEL_E1000E@-ethercat.o \
    46 		ich8lan-@KERNEL_E1000E@-ethercat.o \
    48 		lib-@KERNEL_E1000E@-ethercat.o \
       
    49 		netdev-@KERNEL_E1000E@-ethercat.o \
    47 		netdev-@KERNEL_E1000E@-ethercat.o \
    50 		param-@KERNEL_E1000E@-ethercat.o \
    48 		param-@KERNEL_E1000E@-ethercat.o \
    51 		phy-@KERNEL_E1000E@-ethercat.o
    49 		phy-@KERNEL_E1000E@-ethercat.o
       
    50 
       
    51 	ifeq (@E1000E_LAYOUT_3_4@,1)
       
    52 		EC_E1000E_OBJ += \
       
    53 			80003es2lan-@KERNEL_E1000E@-ethercat.o \
       
    54 			mac-@KERNEL_E1000E@-ethercat.o \
       
    55 			manage-@KERNEL_E1000E@-ethercat.o \
       
    56 			nvm-@KERNEL_E1000E@-ethercat.o
       
    57 	else
       
    58 		EC_E1000E_OBJ += \
       
    59 			es2lan-@KERNEL_E1000E@-ethercat.o \
       
    60 			lib-@KERNEL_E1000E@-ethercat.o
       
    61 	endif
       
    62 
    52 	obj-m += ec_e1000e.o
    63 	obj-m += ec_e1000e.o
    53 	ec_e1000e-objs := $(EC_E1000E_OBJ)
    64 	ec_e1000e-objs := $(EC_E1000E_OBJ)
       
    65 
    54 	CFLAGS_netdev-@KERNEL_E1000E@-ethercat.o = -DREV=$(REV)
    66 	CFLAGS_netdev-@KERNEL_E1000E@-ethercat.o = -DREV=$(REV)
    55 endif
    67 endif
    56 
    68 
    57 KBUILD_EXTRA_SYMBOLS := \
    69 KBUILD_EXTRA_SYMBOLS := \
    58 	@abs_top_builddir@/$(LINUX_SYMVERS) \
    70 	@abs_top_builddir@/$(LINUX_SYMVERS) \