devices/Makefile
changeset 196 f8a1e9f364a3
parent 192 8d7bd5082ed5
child 197 b9a6e2c22745
equal deleted inserted replaced
195:674071846ee3 196:f8a1e9f364a3
    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