Compare commits
3 Commits
v2.6.2-rc1
...
v2.6.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae8a02168b | ||
|
|
2a5638deef | ||
|
|
fcaec330e5 |
6
Makefile
6
Makefile
@@ -67,13 +67,7 @@ GENERATED_DOCS:=README.html
|
||||
ifneq ($(wildcard .version),)
|
||||
DAHDIVERSION:=$(shell cat .version)
|
||||
else
|
||||
ifneq ($(wildcard .svn),)
|
||||
DAHDIVERSION:=$(shell build_tools/make_version . dahdi/linux)
|
||||
else
|
||||
ifneq ($(wildcard .git),)
|
||||
DAHDIVERSION:=$(shell build_tools/make_version . dahdi/linux)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
all: modules
|
||||
|
||||
@@ -59,7 +59,7 @@ elif [ -d ${1}/.git ]; then
|
||||
MODIFIED=""
|
||||
SVN_REV=`git log --pretty=full -1 | grep -F "git-svn-id:" | sed -e "s/.*\@\([^\s]*\)\s.*/\1/g"`
|
||||
if [ -z "$SVN_REV" ]; then
|
||||
VERSION=`git describe --long --always --tags --dirty=M 2> /dev/null`
|
||||
VERSION=`git describe --tags --dirty=M 2> /dev/null | sed -e "s/^v//"`
|
||||
if [ $? -ne 0 ]; then
|
||||
if [ "`git ls-files -m | wc -l`" != "0" ]; then
|
||||
MODIFIED="M"
|
||||
@@ -115,4 +115,8 @@ elif [ -d ${1}/.git ]; then
|
||||
|
||||
echo SVN-${RESULT##-}-r${SVN_REV}${MODIFIED}
|
||||
fi
|
||||
else
|
||||
# Use the directory information in the absence of any other version
|
||||
# information
|
||||
pwd -P
|
||||
fi
|
||||
|
||||
@@ -120,6 +120,14 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* __dev* were removed in 3.8. They still have effect in 2.6.18. */
|
||||
#ifndef __devinit
|
||||
# define __devinit
|
||||
# define __devinitdata
|
||||
# define __devexit
|
||||
# define __devexit_p(x) x
|
||||
#endif
|
||||
|
||||
/*! Default chunk size for conferences and such -- static right now, might make
|
||||
variable sometime. 8 samples = 1 ms = most frequent service interval possible
|
||||
for a USB device */
|
||||
|
||||
Reference in New Issue
Block a user