devices/Kbuild
changeset 382 72500991bcc3
parent 366 148ac5ef18ae
child 444 31223539fc00
equal deleted inserted replaced
381:006d3653701d 382:72500991bcc3
    40 ec_8139too-objs := 8139too.o
    40 ec_8139too-objs := 8139too.o
    41 
    41 
    42 REV := $(shell if test -s $(src)/../svnrevision; then \
    42 REV := $(shell if test -s $(src)/../svnrevision; then \
    43 		cat $(src)/../svnrevision; \
    43 		cat $(src)/../svnrevision; \
    44 	else \
    44 	else \
    45 		svnversion $(src) 2>/dev/null || echo "unknown"; \
    45 		svnversion $(src)/.. 2>/dev/null || echo "unknown"; \
    46 	fi)
    46 	fi)
    47 
    47 
    48 EXTRA_CFLAGS = -DEC_REV=$(REV) -DEC_USER=$(USER)
    48 EXTRA_CFLAGS = -DSVNREV=$(REV)
    49 
    49 
    50 #------------------------------------------------------------------------------
    50 #------------------------------------------------------------------------------