summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-08-25 08:05:08 +0100
committerAndy Green <andy.green@linaro.org>2011-08-25 08:05:08 +0100
commit5dae593d996ca1da8fd0ea857a9f21880c465b4d (patch)
tree7c1f8b70b9299ac53d6f5c31623d3e371d28fd07
parentc0c8003cbd68e5bc6bf7f1bab99be5e90ee6e117 (diff)
sgx remove HW_RECOVERY only for x build
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/gpu/pvr/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/Makefile b/drivers/gpu/pvr/Makefile
index 9bf047235b6..d585ed2b112 100644
--- a/drivers/gpu/pvr/Makefile
+++ b/drivers/gpu/pvr/Makefile
@@ -70,13 +70,24 @@ ccflags-$(CONFIG_SGX_530_BUILD_DEBUG) += \
-DPVRSRV_DUMP_MK_TRACE \
-DDEBUG_LOG_PATH_TRUNCATE="\"eurasia_km\""
+ifeq ($(CONFIG_ANDROID),)
+
+ccflags-$(CONFIG_SGX_540_BUILD_RELEASE) += \
+ -DPVR_BUILD_TYPE="\"release\"" \
+ -DRELEASE \
+ -DSUPPORT_ACTIVE_POWER_MANAGEMENT \
+ -DPVR_NO_FULL_CACHE_OPS
+
+else
+
ccflags-$(CONFIG_SGX_540_BUILD_RELEASE) += \
-DPVR_BUILD_TYPE="\"release\"" \
-DRELEASE \
+ -DSUPPORT_HW_RECOVERY \
-DSUPPORT_ACTIVE_POWER_MANAGEMENT \
-DPVR_NO_FULL_CACHE_OPS
-# -DSUPPORT_HW_RECOVERY
+endif
ccflags-$(CONFIG_SGX_540_BUILD_DEBUG) += \
-DPVR_BUILD_TYPE="\"debug\"" -DDEBUG \