devices/Kbuild
branchstable-1.1
changeset 1731 60b2aad9d40b
parent 1724 07c82e520ddd
child 1732 1cc865ba17c2
equal deleted inserted replaced
1730:27a1aee7e254 1731:60b2aad9d40b
    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 #------------------------------------------------------------------------------