diff options
author | Hemant Hariyani <hemanthariyani@ti.com> | 2011-08-25 08:03:37 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-08-25 08:03:37 +0100 |
commit | 8987739c29ee6a753dc8fc470b4952fb26359688 (patch) | |
tree | 05ed95d908c3167d424e30557470604ab802fa93 | |
parent | 65313865d113c56ae93ad4f0be03fed21b206060 (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/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 \ |