diff options
author | Bernhard Rosenkranzer <bernhard.rosenkranzer@linaro.org> | 2012-05-23 15:50:02 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-23 15:55:46 +0200 |
commit | fcddfa7f1d6cbdd5b841665b2337422627394cff (patch) | |
tree | afde08eb8b81c056fb06c7f7b62a5bd095e6b792 /drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common | |
parent | fa6ae428813e50a80b8f4ed452566d964967c315 (diff) |
android: compilation failure with new version of svnmali-android
The line setting SVN_REV assumes "svnversion" will report
either the svn revision of the directory or "exported". This
assumption is no longer true for subversion 1.7.4, which reports
"Unversioned directory" instead of "exported", causing the build
to fail (gcc -DSVN_REV=Unversioned directory)
Signed-off-by: Bernhard Rosenkranzer <bernhard.rosenkranzer@linaro.org>
Submitted-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common')
-rw-r--r-- | drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common b/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common index 116afb6c75a..066daca61ed 100644 --- a/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common +++ b/drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/Makefile.common @@ -40,7 +40,7 @@ MALI_PLATFORM_FILE=platform/default/mali_platform.c 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 -qv exported && svnversion) || git svn info | grep '^Revision: '| sed -e 's/^Revision: //' ) 2>/dev/null ) +SVN_REV := $(shell (cd $(DRIVER_DIR); (svnversion | grep -qvE '(exported|Unversioned)' && svnversion) || git svn info | grep '^Revision: '| sed -e 's/^Revision: //' ) 2>/dev/null ) ifeq ($(SVN_REV),) SVN_REV := $(MALI_RELEASE_NAME) else |