diff options
author | Hemant Hariyani <hemanthariyani@ti.com> | 2011-06-10 09:38:23 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-06-10 09:38:23 +0100 |
commit | d910e7c9a888a99e183c3300eb55eed8b6afc82a (patch) | |
tree | c44b250823d78220a3a8353937c6dc368b24515f | |
parent | 9321b89195834f94d4c04726f4af87b48d4d5370 (diff) |
From e9a0480ac0956d702040d5b422ce8886cf2a0888 Mon Sep 17 00:00:00 2001
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/Makefile | 4 |
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 \ |