summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHemant Hariyani <hemanthariyani@ti.com>2011-06-16 10:58:54 +0100
committerAndy Green <andy.green@linaro.org>2011-06-16 10:58:54 +0100
commit9d28e6bd3e07ed8808b075a5106b1708796f9892 (patch)
tree0307f6fb5cb923e6b776b8f1c352d0fc05e8960d
parentcf6f9cc6eb3f71f8b47fa5c9efd536e1114ac40e (diff)
Subject: [PATCH 2/5] OMAP4: SGX-KM: Fix PVR_BUILD_DATE
PVR_BUILD_DATE was not being assigned. This patch fixes it. This is required for DRI/DRM based SGX driver. Change-Id: I6df3b1237b223a392b5c91bfffa4897906b997e8 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
-rw-r--r--drivers/gpu/pvr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/Makefile b/drivers/gpu/pvr/Makefile
index 9b3cf75b9a6..bed0ee05159 100644
--- a/drivers/gpu/pvr/Makefile
+++ b/drivers/gpu/pvr/Makefile
@@ -1,4 +1,6 @@
#
+DATE := $(shell date +%Y-%m-%d)
+
ifeq ($(CONFIG_ANDROID),)
ccflags-y = -DLINUX -D__linux__ \
-DPVR_BUILD_DIR="\"omap_sgx_linux\"" \
@@ -26,7 +28,7 @@ ccflags-y += -Idrivers/gpu/pvr \
-DSUPPORT_MEMINFO_IDS \
-DDISPLAY_CONTROLLER=omaplfb \
-DSYS_SGX_ACTIVE_POWER_LATENCY_MS=2 \
- -DPVR_BUILD_DATE="" \
+ -DPVR_BUILD_DATE="\"$(DATE)\"" \
-DSUPPORT_SGX \
-DCLIENT_DRIVER_DEFAULT_WAIT_RETRIES=50 \
-DPVR_LINUX_TIMERS_USING_WORKQUEUES \