import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / gpu / mt8127 / mali / ump / Makefile.common
1 #
2 # This confidential and proprietary software may be used only as
3 # authorised by a licensing agreement from ARM Limited
4 # (C) COPYRIGHT 2008-2011, 2013 ARM Limited
5 # ALL RIGHTS RESERVED
6 # The entire notice above must be reproduced on all authorised
7 # copies and copies may only be made to the extent permitted
8 # by a licensing agreement from ARM Limited.
9 #
10
11 SRC = $(UMP_FILE_PREFIX)common/ump_kernel_common.c \
12 $(UMP_FILE_PREFIX)common/ump_kernel_descriptor_mapping.c \
13 $(UMP_FILE_PREFIX)common/ump_kernel_api.c \
14 $(UMP_FILE_PREFIX)common/ump_kernel_ref_drv.c
15
16 # Get subversion revision number, fall back to 0000 if no svn info is available
17 SVN_REV:=$(shell ((svnversion | grep -qv exported && echo -n 'Revision: ' && svnversion) || git svn info | sed -e 's/$$$$/M/' | grep '^Revision: ' || echo ${MALI_RELEASE_NAME}) 2>/dev/null | sed -e 's/^Revision: //')
18
19 EXTRA_CFLAGS += -DSVN_REV=$(SVN_REV)
20 EXTRA_CFLAGS += -DSVN_REV_STRING=\"$(SVN_REV)\"