diff -r 6ad972f38438 -r 5e9221a78855 devices/e1000e/Kbuild.in --- a/devices/e1000e/Kbuild.in Mon Jan 07 11:34:58 2013 +0100 +++ b/devices/e1000e/Kbuild.in Mon Jan 07 18:23:27 2013 +0100 @@ -42,15 +42,27 @@ ifeq (@ENABLE_E1000E@,1) EC_E1000E_OBJ := \ 82571-@KERNEL_E1000E@-ethercat.o \ - es2lan-@KERNEL_E1000E@-ethercat.o \ ethtool-@KERNEL_E1000E@-ethercat.o \ ich8lan-@KERNEL_E1000E@-ethercat.o \ - lib-@KERNEL_E1000E@-ethercat.o \ netdev-@KERNEL_E1000E@-ethercat.o \ param-@KERNEL_E1000E@-ethercat.o \ phy-@KERNEL_E1000E@-ethercat.o + + ifeq (@E1000E_LAYOUT_3_4@,1) + EC_E1000E_OBJ += \ + 80003es2lan-@KERNEL_E1000E@-ethercat.o \ + mac-@KERNEL_E1000E@-ethercat.o \ + manage-@KERNEL_E1000E@-ethercat.o \ + nvm-@KERNEL_E1000E@-ethercat.o + else + EC_E1000E_OBJ += \ + es2lan-@KERNEL_E1000E@-ethercat.o \ + lib-@KERNEL_E1000E@-ethercat.o + endif + obj-m += ec_e1000e.o ec_e1000e-objs := $(EC_E1000E_OBJ) + CFLAGS_netdev-@KERNEL_E1000E@-ethercat.o = -DREV=$(REV) endif