changeset 569 | 87dd7f374593 |
parent 568 | 3edb8f45bdc1 |
child 580 | ba7e9b82ab3a |
--- a/devices/Kbuild Wed Feb 14 17:26:25 2007 +0000 +++ b/devices/Kbuild Thu Feb 15 16:59:28 2007 +0000 @@ -36,7 +36,10 @@ EC_8139TOO_OBJ = 8139too-$(EC_8139TOO_KERNEL)-ethercat.o EC_E100_OBJ = e100-$(EC_E100_KERNEL)-ethercat.o -obj-m := ec_8139too.o ec_e100.o +obj-m := ec_8139too.o +ifeq ($(ENABLE_E100),1) + obj_m += ec_e100.o +endif ec_8139too-objs := $(EC_8139TOO_OBJ) ec_e100-objs := $(EC_E100_OBJ)