diff --git a/packages/linux/patches/AMLm3-2.6.34-7fe1265/linux-090-SVN_REV.patch b/packages/linux/patches/AMLm3-2.6.34-7fe1265/linux-090-SVN_REV.patch index 7dd72b85a8..b8ab6406cc 100644 --- a/packages/linux/patches/AMLm3-2.6.34-7fe1265/linux-090-SVN_REV.patch +++ b/packages/linux/patches/AMLm3-2.6.34-7fe1265/linux-090-SVN_REV.patch @@ -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)