equal
deleted
inserted
replaced
40 |
40 |
41 ifneq ($(KERNELRELEASE),) |
41 ifneq ($(KERNELRELEASE),) |
42 |
42 |
43 obj-m := ec_master.o |
43 obj-m := ec_master.o |
44 |
44 |
45 ec_master-objs := module.o master.o device.o slave.o command.o types.o \ |
45 ec_master-objs := module.o master.o device.o slave.o datagram.o types.o \ |
46 domain.o mailbox.o canopen.o ethernet.o debug.o fsm.o |
46 domain.o mailbox.o canopen.o ethernet.o debug.o fsm.o |
47 |
47 |
48 REV := $(shell svnversion $(src) 2>/dev/null || echo "unknown") |
48 REV := $(shell svnversion $(src) 2>/dev/null || echo "unknown") |
49 |
49 |
50 EXTRA_CFLAGS := -DSVNREV=$(REV) -DUSER=$(USER) |
50 EXTRA_CFLAGS := -DSVNREV=$(REV) -DUSER=$(USER) |
73 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) \ |
73 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) \ |
74 INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install |
74 INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install |
75 |
75 |
76 clean: |
76 clean: |
77 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean |
77 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean |
|
78 @rm -f Modules.symvers |
78 |
79 |
79 #------------------------------------------------------------------------------ |
80 #------------------------------------------------------------------------------ |
80 |
81 |
81 endif |
82 endif |