diff -r 7d67195702dd -r eaee3c8d6ae0 master/Kbuild --- a/master/Kbuild Fri Oct 13 09:05:45 2006 +0000 +++ b/master/Kbuild Fri Oct 13 09:38:23 2006 +0000 @@ -38,7 +38,11 @@ obj-m := ec_master.o ec_master-objs := module.o master.o device.o slave.o datagram.o \ - domain.o mailbox.o ethernet.o debug.o fsm.o xmldev.o + domain.o mailbox.o ethernet.o fsm.o xmldev.o + +ifeq ($(EC_DBG_IF),1) + ec_master-objs += debug.o +endif REV := $(shell if test -s $(src)/../svnrevision; then \ cat $(src)/../svnrevision; \