linux-AMLm3-2.6.34: update SVN_REV patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-05-27 12:52:41 +02:00
parent ff144566c8
commit 6a7e1784e4

View File

@ -5,7 +5,7 @@ diff -Naur linux-AMLm1-2.6.34-1405682/drivers/amlogic/mali/Makefile.common linux
endif
# Get subversion revision number, fall back to only ${MALI_RELEASE_NAME} if no svn info is available
-SVN_REV := $(shell (cd $(DRIVER_DIR); (svnversion | grep -Eqv "exported|Unversioned directory" && svnversion) || git svn info | grep '^Revision: '| sed -e 's/^Revision: //' ) 2>/dev/null )
-SVN_REV := $(shell (cd $(DRIVER_DIR); (LC_ALL=C svnversion | grep -Eqv "exported|Unversioned directory" && svnversion) || git svn info | grep '^Revision: '| sed -e 's/^Revision: //' ) 2>/dev/null )
+SVN_REV := ${PKG_VERSION}
ifeq ($(SVN_REV),)
SVN_REV := $(MALI_RELEASE_NAME)