devices/Makefile
branchstable-1.0
changeset 1617 9f83a343ae75
parent 192 8d7bd5082ed5
child 197 b9a6e2c22745
equal deleted inserted replaced
1616:f009a710e8a3 1617:9f83a343ae75
    15 
    15 
    16 obj-m := ec_8139too.o
    16 obj-m := ec_8139too.o
    17 
    17 
    18 ec_8139too-objs := 8139too.o
    18 ec_8139too-objs := 8139too.o
    19 
    19 
    20 EXTRA_CFLAGS = -DEC_REV="$(shell svnversion $(src))" -DEC_USER="$(USER)"
    20 REV := $(shell svnversion $(src) 2>/dev/null)
       
    21 
       
    22 EXTRA_CFLAGS = -DEC_REV=$(REV) -DEC_USER=$(USER)
    21 
    23 
    22 #------------------------------------------------------------------------------
    24 #------------------------------------------------------------------------------
    23 
    25 
    24 else
    26 else
    25 
    27