devices/Kbuild
changeset 585 dc1ea0099b4c
parent 584 150c8a1caf25
child 667 9feff35c9617
equal deleted inserted replaced
584:150c8a1caf25 585:dc1ea0099b4c
    54 endif
    54 endif
    55 
    55 
    56 ifeq ($(EC_ENABLE_FORCEDETH),1)
    56 ifeq ($(EC_ENABLE_FORCEDETH),1)
    57 	EC_FORCEDETH_OBJ := forcedeth-$(EC_FORCEDETH_KERNEL)-ethercat.o
    57 	EC_FORCEDETH_OBJ := forcedeth-$(EC_FORCEDETH_KERNEL)-ethercat.o
    58 	obj-m += ec_forcedeth.o
    58 	obj-m += ec_forcedeth.o
    59 	ec_forcedeth-objs := $(EC_FORCEDETH_OBJ)-ethercat.o
    59 	ec_forcedeth-objs := $(EC_FORCEDETH_OBJ)
    60 	CFLAGS_$(EC_FORCEDETH_OBJ) = -DSVNREV=$(REV)
    60 	CFLAGS_$(EC_FORCEDETH_OBJ) = -DSVNREV=$(REV)
    61 endif
    61 endif
    62 
    62 
    63 #------------------------------------------------------------------------------
    63 #------------------------------------------------------------------------------