equal
deleted
inserted
replaced
38 cat $(TOPDIR)/svnrevision; \ |
38 cat $(TOPDIR)/svnrevision; \ |
39 else \ |
39 else \ |
40 svnversion $(TOPDIR) 2>/dev/null || echo "unknown"; \ |
40 svnversion $(TOPDIR) 2>/dev/null || echo "unknown"; \ |
41 fi) |
41 fi) |
42 |
42 |
43 ifeq ($(EC_ENABLE_E1000),1) |
43 ifeq ($(ENABLE_E1000),1) |
44 EC_E1000_OBJ := e1000_main-$(EC_E1000_KERNEL)-ethercat.o \ |
44 EC_E1000_OBJ := e1000_main-$(KERNEL_E1000)-ethercat.o \ |
45 e1000_hw-$(EC_E1000_KERNEL)-ethercat.o \ |
45 e1000_hw-$(KERNEL_E1000)-ethercat.o \ |
46 e1000_ethtool-$(EC_E1000_KERNEL)-ethercat.o \ |
46 e1000_ethtool-$(KERNEL_E1000)-ethercat.o \ |
47 e1000_param-$(EC_E1000_KERNEL)-ethercat.o |
47 e1000_param-$(KERNEL_E1000)-ethercat.o |
48 obj-m += ec_e1000.o |
48 obj-m += ec_e1000.o |
49 ec_e1000-objs := $(EC_E1000_OBJ) |
49 ec_e1000-objs := $(EC_E1000_OBJ) |
50 CFLAGS_e1000_main-$(EC_E1000_KERNEL)-ethercat.o = -DSVNREV=$(REV) |
50 CFLAGS_e1000_main-$(KERNEL_E1000)-ethercat.o = -DSVNREV=$(REV) |
51 endif |
51 endif |
52 |
52 |
53 #------------------------------------------------------------------------------ |
53 #------------------------------------------------------------------------------ |