master/Makefile
branchstable-1.0
changeset 1617 9f83a343ae75
parent 191 ca805255a935
child 197 b9a6e2c22745
equal deleted inserted replaced
1616:f009a710e8a3 1617:9f83a343ae75
    16 obj-m := ec_master.o
    16 obj-m := ec_master.o
    17 
    17 
    18 ec_master-objs := module.o master.o device.o slave.o command.o types.o \
    18 ec_master-objs := module.o master.o device.o slave.o command.o types.o \
    19 			domain.o mailbox.o canopen.o ethernet.o
    19 			domain.o mailbox.o canopen.o ethernet.o
    20 
    20 
    21 EXTRA_CFLAGS := -DSVNREV=$(shell svnversion $(src)) -DUSER=$(USER)
    21 REV := $(shell svnversion $(src) 2>/dev/null)
       
    22 
       
    23 EXTRA_CFLAGS := -DSVNREV=$(REV) -DUSER=$(USER)
    22 
    24 
    23 #------------------------------------------------------------------------------
    25 #------------------------------------------------------------------------------
    24 
    26 
    25 else
    27 else
    26 
    28