equal
deleted
inserted
replaced
34 include $(src)/../config.kbuild |
34 include $(src)/../config.kbuild |
35 |
35 |
36 EC_8139TOO_OBJ = 8139too-$(EC_8139TOO_KERNEL)-ethercat.o |
36 EC_8139TOO_OBJ = 8139too-$(EC_8139TOO_KERNEL)-ethercat.o |
37 EC_E100_OBJ = e100-$(EC_E100_KERNEL)-ethercat.o |
37 EC_E100_OBJ = e100-$(EC_E100_KERNEL)-ethercat.o |
38 |
38 |
39 obj-m := ec_8139too.o ec_e100.o |
39 obj-m := ec_8139too.o |
|
40 ifeq ($(ENABLE_E100),1) |
|
41 obj_m += ec_e100.o |
|
42 endif |
40 |
43 |
41 ec_8139too-objs := $(EC_8139TOO_OBJ) |
44 ec_8139too-objs := $(EC_8139TOO_OBJ) |
42 ec_e100-objs := $(EC_E100_OBJ) |
45 ec_e100-objs := $(EC_E100_OBJ) |
43 |
46 |
44 REV := $(shell if test -s $(src)/../svnrevision; then \ |
47 REV := $(shell if test -s $(src)/../svnrevision; then \ |